kitchen sink now don't support any version lower than 0.11.0 for lsp
- dap now works for java and c
This commit is contained in:
@ -102,14 +102,16 @@ auto("FileType", {
|
||||
|
||||
-- lsp folding: vim.o.foldexpr = "v:lua.vim.lsp.foldexpr()"
|
||||
-- waiting on https://github.com/neovim/neovim/pull/31311 to hit a release
|
||||
require("core.lsp.functions").add_capabilities({
|
||||
textDocument = {
|
||||
foldingRange = {
|
||||
dynamicRegistration = false,
|
||||
lineFoldingOnly = true
|
||||
vim.lsp.config['*'] = {
|
||||
capabilities = {
|
||||
textDocument = {
|
||||
foldingRange = {
|
||||
dynamicRegistration = false,
|
||||
lineFoldingOnly = true
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
vim.opt.foldlevelstart = 99
|
||||
vim.opt.foldlevel = 99
|
||||
|
Reference in New Issue
Block a user