This commit is contained in:
meml0rz
2024-11-13 01:10:13 +01:00
parent 0d6dab2bb0
commit 1cec8b5116
2 changed files with 3 additions and 4 deletions

View File

@ -30,7 +30,6 @@ in
}; };
preselect = "cmp.PreselectMode.None"; preselect = "cmp.PreselectMode.None";
snippet.expand = "function(args) require('luasnip').lsp_expand(args.body) end"; snippet.expand = "function(args) require('luasnip').lsp_expand(args.body) end";
sources = [ sources = [

View File

@ -25,7 +25,7 @@
vim.opt.smartindent = true vim.opt.smartindent = true
vim.opt.softtabstop = 4 vim.opt.softtabstop = 4
vim.opt.number = true; vim.opt.number = true;
vim.cmd [[ vim.cmd [[
cnoreabbrev W! w! cnoreabbrev W! w!
cnoreabbrev Q! q! cnoreabbrev Q! q!
cnoreabbrev Qall! qall! cnoreabbrev Qall! qall!
@ -38,8 +38,8 @@
cnoreabbrev Qall qall cnoreabbrev Qall qall
]] ]]
local _border = "rounded" local _border = "rounded"
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with( vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(
vim.lsp.handlers.hover, { vim.lsp.handlers.hover, {
border = _border border = _border
} }