mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Changed back to false
This commit is contained in:
parent
64ceccc2f4
commit
b92dff0865
1 changed files with 9 additions and 11 deletions
|
|
@ -44,24 +44,22 @@ require'nvim-treesitter.configs'.setup {
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Load LSP's
|
-- Load LSP's
|
||||||
local function on_attach(client, bufnr)
|
|
||||||
client.server_capabilities.document_formatting = true
|
|
||||||
require('lsp_signature').on_attach()
|
|
||||||
local function set_completeopt()
|
|
||||||
vim.api.nvim_buf_set_option(bufnr, 'completeopt', 'menuone,noselect')
|
|
||||||
end
|
|
||||||
set_completeopt()
|
|
||||||
end
|
|
||||||
|
|
||||||
require('lazy-lsp').setup {
|
require('lazy-lsp').setup {
|
||||||
excluded_servers = {
|
excluded_servers = {
|
||||||
"sqls", "ccls", "zk", "tsserver", "nil_ls",
|
"sqls", "ccls", "zk", "tsserver", "nil_ls",
|
||||||
},
|
},
|
||||||
|
|
||||||
default_config = {
|
default_config = {
|
||||||
on_attach = on_attach,
|
on_attach = function(client, bufnr)
|
||||||
|
client.server_capabilities.document_formatting = false
|
||||||
|
require('lsp_signature').on_attach()
|
||||||
|
local function set_completeopt()
|
||||||
|
vim.api.nvim_buf_set_option(bufnr, 'completeopt', 'menuone,noselect')
|
||||||
|
end
|
||||||
|
set_completeopt()
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
configs = {
|
configs = {
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
settings = { Lua = { diagnostics = { globals = { "vim" }}}},
|
settings = { Lua = { diagnostics = { globals = { "vim" }}}},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue