Compare commits
No commits in common. "0683408c18887f994bed579af2fd80fc33ecdbac" and "cb8504f89bcddc194381fac02ffcb103d24ca2a0" have entirely different histories.
0683408c18
...
cb8504f89b
@ -204,7 +204,7 @@ local handlers = {
|
|||||||
|
|
||||||
-- Use a loop to conveniently call 'setup' on multiple servers and
|
-- Use a loop to conveniently call 'setup' on multiple servers and
|
||||||
-- map buffer local keybindings when the language server attaches
|
-- map buffer local keybindings when the language server attaches
|
||||||
local servers = { 'pyright', 'bashls', 'yamlls', 'ansiblels', 'gopls', 'solargraph', 'terraformls', 'tflint', 'marksman' }
|
local servers = { 'pyright', 'bashls', 'yamlls', 'ansiblels', 'gopls', 'solargraph', 'terraformls', 'tflint' }
|
||||||
for _, lsp in pairs(servers) do
|
for _, lsp in pairs(servers) do
|
||||||
require('lspconfig')[lsp].setup {
|
require('lspconfig')[lsp].setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
@ -334,6 +334,7 @@ cmp.setup.cmdline('/', {
|
|||||||
require("nvim-tree").setup({
|
require("nvim-tree").setup({
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
require'treesitter-context'.setup{}
|
require'treesitter-context'.setup{}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
@ -341,10 +342,6 @@ EOF
|
|||||||
set updatetime=250
|
set updatetime=250
|
||||||
autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false, scope="cursor"})
|
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
|
" Neoformat
|
||||||
let g:neoformat_try_formatprg = 1
|
let g:neoformat_try_formatprg = 1
|
||||||
let g:neoformat_basic_format_trim = 1
|
let g:neoformat_basic_format_trim = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user