nvim: Add customised LSP labels
Taken from https://github.com/lukas-reineke/dotfiles/blob/master/vim/lua/lsp.lua
This commit is contained in:
parent
c3019c997d
commit
94865fce59
1 changed files with 20 additions and 4 deletions
|
@ -5,6 +5,22 @@ vim.g.completion_auto_change_source = 1
|
||||||
vim.g.completion_trigger_on_delete = 1
|
vim.g.completion_trigger_on_delete = 1
|
||||||
vim.g.completion_matching_ignore_case = 0
|
vim.g.completion_matching_ignore_case = 0
|
||||||
vim.g.completion_matching_strategy_list = { 'exact', 'substring' }
|
vim.g.completion_matching_strategy_list = { 'exact', 'substring' }
|
||||||
|
vim.g.completion_customize_lsp_label = {
|
||||||
|
Function = " [function]",
|
||||||
|
Method = " [method]",
|
||||||
|
Reference = " [reference]",
|
||||||
|
Enum = " [enum]",
|
||||||
|
Field = "ﰠ [field]",
|
||||||
|
Keyword = " [key]",
|
||||||
|
Variable = " [variable]",
|
||||||
|
Folder = " [folder]",
|
||||||
|
Snippet = " [snippet]",
|
||||||
|
Operator = " [operator]",
|
||||||
|
Module = " [module]",
|
||||||
|
Text = "ﮜ[text]",
|
||||||
|
Class = " [class]",
|
||||||
|
Interface = " [interface]"
|
||||||
|
}
|
||||||
|
|
||||||
vim.g.completion_chain_complete_list = {
|
vim.g.completion_chain_complete_list = {
|
||||||
c = {
|
c = {
|
||||||
|
|
Loading…
Reference in a new issue