mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
Please work
This commit is contained in:
parent
21a6f28e52
commit
16d8ddf6a8
2 changed files with 29 additions and 1 deletions
|
|
@ -15,6 +15,21 @@
|
|||
end
|
||||
dofile(vim.fn.stdpath('config') .. '/plugins.lua')
|
||||
|
||||
-- LSP and LSPInstall setup
|
||||
local nvim_lsp = require('lspconfig')
|
||||
local lspinstall = require('lspinstall')
|
||||
|
||||
lspinstall.setup()
|
||||
|
||||
for _, lsp in ipairs(lspinstall.installed_servers()) do
|
||||
nvim_lsp[lsp].setup {
|
||||
on_attach = function(client, bufnr)
|
||||
client.resolved_capabilities.document_formatting = false
|
||||
require('lsp_signature').on_attach()
|
||||
end,
|
||||
}
|
||||
end
|
||||
|
||||
-- Keep Cursor
|
||||
vim.o.guicursor = ''
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue