Compare commits
2 Commits
cb8504f89b
...
0683408c18
Author | SHA1 | Date | |
---|---|---|---|
0683408c18 | |||
|
d89bb02c26 |
@ -204,7 +204,7 @@ local handlers = {
|
||||
|
||||
-- Use a loop to conveniently call 'setup' on multiple servers and
|
||||
-- map buffer local keybindings when the language server attaches
|
||||
local servers = { 'pyright', 'bashls', 'yamlls', 'ansiblels', 'gopls', 'solargraph', 'terraformls', 'tflint' }
|
||||
local servers = { 'pyright', 'bashls', 'yamlls', 'ansiblels', 'gopls', 'solargraph', 'terraformls', 'tflint', 'marksman' }
|
||||
for _, lsp in pairs(servers) do
|
||||
require('lspconfig')[lsp].setup {
|
||||
on_attach = on_attach,
|
||||
@ -334,7 +334,6 @@ cmp.setup.cmdline('/', {
|
||||
require("nvim-tree").setup({
|
||||
})
|
||||
|
||||
|
||||
require'treesitter-context'.setup{}
|
||||
EOF
|
||||
|
||||
@ -342,6 +341,10 @@ EOF
|
||||
set updatetime=250
|
||||
autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false, scope="cursor"})
|
||||
|
||||
" CoPilot
|
||||
imap <silent><script><expr> <F1> copilot#Accept("\<CR>")
|
||||
let g:copilot_no_tab_map = v:true
|
||||
|
||||
" Neoformat
|
||||
let g:neoformat_try_formatprg = 1
|
||||
let g:neoformat_basic_format_trim = 1
|
||||
|
Loading…
Reference in New Issue
Block a user