mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-15 23:16:47 +00:00
@@ -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 = "",
|
||||
|
||||
@@ -76,7 +76,7 @@ return require('packer').startup(function(use)
|
||||
config = function()
|
||||
require('Comment').setup()
|
||||
end,
|
||||
})
|
||||
})
|
||||
use({
|
||||
'windwp/nvim-autopairs',
|
||||
config = function()
|
||||
@@ -205,7 +205,7 @@ return require('packer').startup(function(use)
|
||||
'williamboman/mason.nvim',
|
||||
'williamboman/mason-lspconfig.nvim',
|
||||
'folke/lsp-colors.nvim',
|
||||
'folke/lua-dev.nvim',
|
||||
'folke/neodev.nvim',
|
||||
'ray-x/lsp_signature.nvim',
|
||||
|
||||
'RRethy/vim-illuminate',
|
||||
|
||||
Reference in New Issue
Block a user