kekl
This commit is contained in:
@ -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 = [
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user