Compare commits
No commits in common. "8dc8f57fc695fd45ec6035764eb2b6d1bf8b50f5" and "abfdda1db013f8888c66442e9eddcf3b7b9f65a5" have entirely different histories.
8dc8f57fc6
...
abfdda1db0
3 changed files with 387 additions and 594 deletions
File diff suppressed because it is too large
Load diff
|
@ -3,7 +3,6 @@ local server_configs = function()
|
||||||
ansiblels = {},
|
ansiblels = {},
|
||||||
powershell_es = {},
|
powershell_es = {},
|
||||||
gopls = {},
|
gopls = {},
|
||||||
templ = {},
|
|
||||||
clangd = {},
|
clangd = {},
|
||||||
zls = {},
|
zls = {},
|
||||||
-- hls = {},
|
-- hls = {},
|
||||||
|
@ -223,7 +222,7 @@ local function on_attach(args) -- {{{
|
||||||
)
|
)
|
||||||
|
|
||||||
if (formatting_filter(client)) then
|
if (formatting_filter(client)) then
|
||||||
vim.api.nvim_set_option_value('formatexpr', 'v:lua.vim.lsp.formatexpr(#{timeout_ms:250})', { buf = bufnr })
|
vim.api.nvim_set_option_value('formatexpr', 'v:lua.vim.lsp.formatexpr(#{timeout_ms:250})', {buf= bufnr})
|
||||||
end
|
end
|
||||||
|
|
||||||
if client.name == 'omnisharp' then
|
if client.name == 'omnisharp' then
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---@diagnostic disable: missing-fields
|
|
||||||
local M = {
|
local M = {
|
||||||
'hrsh7th/nvim-cmp',
|
'hrsh7th/nvim-cmp',
|
||||||
event = 'InsertEnter',
|
event = 'InsertEnter',
|
||||||
|
@ -38,7 +37,7 @@ function M.config()
|
||||||
-- documentation = cmp.config.window.bordered(),
|
-- documentation = cmp.config.window.bordered(),
|
||||||
},
|
},
|
||||||
mapping = cmp.mapping.preset.insert({
|
mapping = cmp.mapping.preset.insert({
|
||||||
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
['<C-b>'] = cmp.mapping.scroll_docs( -4),
|
||||||
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||||
['<C-Space>'] = cmp.mapping.complete({}),
|
['<C-Space>'] = cmp.mapping.complete({}),
|
||||||
['<C-e>'] = cmp.mapping.abort(),
|
['<C-e>'] = cmp.mapping.abort(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue