Folding kinda annoying on smaller projects ie. AoC. Add lsp for wgsl and glsl
This commit is contained in:
10
init.lua
10
init.lua
@@ -42,10 +42,10 @@ vim.opt.expandtab = false
|
||||
vim.opt.autoindent = true
|
||||
vim.opt.smartindent = true
|
||||
vim.opt.completeopt = { "menu", "menuone", "noselect" }
|
||||
vim.opt.foldmethod = "expr"
|
||||
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
vim.opt.foldtext = ""
|
||||
vim.opt.foldlevelstart = 1
|
||||
vim.opt.foldnestmax = 2
|
||||
--vim.opt.foldmethod = "expr"
|
||||
--vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
--vim.opt.foldtext = ""
|
||||
--vim.opt.foldlevelstart = 1
|
||||
--vim.opt.foldnestmax = 2
|
||||
|
||||
-- TODO replace config with opts in every plugin
|
||||
|
Reference in New Issue
Block a user