testing autocmd

main
KeeganForelight 2 years ago
parent b79e6922fd
commit 12fe2e2c74

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

Loading…
Cancel
Save