|
|
|
@ -49,12 +49,13 @@ vim.cmd([[
|
|
|
|
|
-- language server setup
|
|
|
|
|
local lspconfig = require('lspconfig')
|
|
|
|
|
|
|
|
|
|
vim.o.updatetime = 250
|
|
|
|
|
|
|
|
|
|
local on_attach = function(_, bufnr)
|
|
|
|
|
-- key mappings
|
|
|
|
|
local opts = {
|
|
|
|
|
buffer = bufnr,
|
|
|
|
|
noremap = true,
|
|
|
|
|
silent = true,
|
|
|
|
|
focusable = false,
|
|
|
|
|
border = 'rounded',
|
|
|
|
|
source = 'always',
|
|
|
|
@ -127,7 +128,6 @@ vim.diagnostic.config({
|
|
|
|
|
severity_sort = false,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
vim.o.updatetime = 250
|
|
|
|
|
|
|
|
|
|
vim.api.nvim_create_autocmd('LspAttach', {
|
|
|
|
|
callback = function(ev)
|
|
|
|
|