Fix neovim
This commit is contained in:
parent
95cc486ad1
commit
6af9021c08
|
@ -56,7 +56,7 @@ nvim_lsp.clangd.setup {
|
|||
filetypes = {"c","cpp","objc","objcpp"},
|
||||
on_attach = on_attach,
|
||||
handlers = handlers,
|
||||
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities),
|
||||
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities),
|
||||
root_dir = root_pattern {
|
||||
"CMakeList.txt",
|
||||
"compile_flags.txt",
|
||||
|
@ -68,7 +68,7 @@ nvim_lsp.clangd.setup {
|
|||
nvim_lsp.pyright.setup{
|
||||
on_attach = on_attach,
|
||||
handlers = handlers,
|
||||
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities),
|
||||
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities),
|
||||
}
|
||||
|
||||
nvim_lsp.gopls.setup {
|
||||
|
@ -76,7 +76,7 @@ nvim_lsp.gopls.setup {
|
|||
filetypes = {"go", "gomod"},
|
||||
on_attach = on_attach,
|
||||
handlers = handlers,
|
||||
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities),
|
||||
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities),
|
||||
root_dir = root_pattern{
|
||||
"go.mod",
|
||||
".git",
|
||||
|
|
|
@ -19,7 +19,7 @@ nvim_tree.setup {
|
|||
|
||||
view = {
|
||||
width = 30,
|
||||
height = 30,
|
||||
-- height = 30,
|
||||
hide_root_folder = false,
|
||||
side = "left",
|
||||
preserve_window_proportions = false,
|
||||
|
|
Loading…
Reference in New Issue