1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-12 20:41:16 +02:00

nvim: adjusted diagnostic icons to be coherent and added folding plugin

This commit is contained in:
2023-08-07 05:36:32 +02:00
parent 90e728779f
commit f8f626cd67
6 changed files with 57 additions and 13 deletions

View File

@@ -65,11 +65,18 @@ vim.o.undodir = vim.env.XDG_CACHE_HOME .. "/vim/undo"
vim.g.python_host_prog = '/usr/bin/python2'
vim.g.python3_host_prog = '/usr/bin/python3'
-- append
-- display certain invisible chars
vim.opt.list = true
vim.opt.listchars:append "space:·"
vim.opt.listchars:append "eol:"
-- folding
vim.o.foldcolumn = '0'
vim.o.foldlevel = 99
vim.o.foldlevelstart = 99
vim.o.foldenable = true
-- set filetypes correctly by extension
require('autocmd')