mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 07:09:23 +02:00
added LSP kinds for everything
This commit is contained in:
parent
d97766b0a7
commit
6b5fbb3385
2 changed files with 68 additions and 45 deletions
|
@ -83,7 +83,6 @@ If you are looking for snippets checkout this github topic: [Snippet Topic](http
|
|||
## TODO
|
||||
|
||||
**HIGH PRIORITY**
|
||||
- lsp kind for snippets
|
||||
- list all binaries needed for functionality
|
||||
- learn what opt is
|
||||
- learn nvim-dap in depth
|
||||
|
|
|
@ -1,36 +1,60 @@
|
|||
vim.o.completeopt = "menuone,noselect"
|
||||
|
||||
require'compe'.setup {
|
||||
enabled = true;
|
||||
autocomplete = true;
|
||||
debug = false;
|
||||
min_length = 1;
|
||||
preselect = 'enable';
|
||||
throttle_time = 80;
|
||||
source_timeout = 200;
|
||||
incomplete_delay = 400;
|
||||
max_abbr_width = 100;
|
||||
max_kind_width = 100;
|
||||
max_menu_width = 100;
|
||||
documentation = true;
|
||||
enabled = true,
|
||||
autocomplete = true,
|
||||
debug = false,
|
||||
min_length = 1,
|
||||
preselect = 'enable',
|
||||
throttle_time = 80,
|
||||
source_timeout = 200,
|
||||
incomplete_delay = 400,
|
||||
max_abbr_width = 100,
|
||||
max_kind_width = 100,
|
||||
max_menu_width = 100,
|
||||
documentation = true,
|
||||
|
||||
source = {
|
||||
path = true;
|
||||
buffer = true;
|
||||
calc = true;
|
||||
vsnip = true;
|
||||
nvim_lsp = true;
|
||||
nvim_lua = true;
|
||||
spell = true;
|
||||
tags = true;
|
||||
snippets_nvim = true;
|
||||
treesitter = true;
|
||||
};
|
||||
path = {kind = " "},
|
||||
buffer = {kind = " "},
|
||||
calc = {kind = " "},
|
||||
vsnip = {kind = " "},
|
||||
nvim_lsp = {kind = " "},
|
||||
nvim_lua = {kind = " "},
|
||||
spell = {kind = " "},
|
||||
tags = false,
|
||||
snippets_nvim = {kind = " "},
|
||||
treesitter = {kind = " "},
|
||||
emoji = {kind = " ﲃ "}
|
||||
-- for emoji press : (idk if that in compe tho)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
-- m
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
|
||||
local t = function(str)
|
||||
return vim.api.nvim_replace_termcodes(str, true, true, true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue