update neodev

Signed-off-by: Lee Tang <i@d0zingcat.dev>
This commit is contained in:
Lee Tang
2022-12-25 19:03:07 +08:00
parent 27c22c71ed
commit 43d45750e6
2 changed files with 7 additions and 9 deletions

View File

@@ -8,7 +8,12 @@ local mappings = {
['<space>f'] = 'lua vim.lsp.buf.format({async=true})',
}
require("neodev").setup({
-- add any options here, or leave empty to use the default settings
})
local servers = {
sumneko_lua = {},
bashls = {},
yamlls = {
filetypes = { 'yaml', 'yml' },
@@ -53,13 +58,6 @@ local servers = {
},
},
},
sumneko_lua = require('lua-dev').setup({
lspconfig = {
on_attach = function(client, _)
utils.disable_formatting(client)
end,
},
}),
beancount = {
init_options = {
journal_file = "",