diff options
| author | Leander <80996591+m0ntagur@users.noreply.github.com> | 2022-08-13 00:27:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-13 00:27:04 +0200 |
| commit | afbf49f0a65a0ea77ecba455f17f592efe3089d8 (patch) | |
| tree | 35a7a053f07b429fe9e5de920d51ae5a0431dc76 /lspkind.lua | |
| parent | a61e457e4c14c7c16b9a545418e14722370dc10a (diff) | |
Add files via upload
Diffstat (limited to 'lspkind.lua')
| -rw-r--r-- | lspkind.lua | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/lspkind.lua b/lspkind.lua new file mode 100644 index 0000000..6027051 --- /dev/null +++ b/lspkind.lua @@ -0,0 +1,49 @@ +require('lspkind').init({
+ -- DEPRECATED (use mode instead): enables text annotations
+ --
+ -- default: true
+ -- with_text = true,
+
+ -- defines how annotations are shown
+ -- default: symbol
+ -- options: 'text', 'text_symbol', 'symbol_text', 'symbol'
+ mode = 'symbol_text',
+
+ -- default symbol map
+ -- can be either 'default' (requires nerd-fonts font) or
+ -- 'codicons' for codicon preset (requires vscode-codicons font)
+ --
+ -- default: 'default'
+ preset = 'codicons',
+
+ -- override preset symbols
+ --
+ -- default: {}
+ symbol_map = {
+ Text = "",
+ Method = "",
+ Function = "",
+ Constructor = "",
+ Field = "ﰠ",
+ Variable = "",
+ Class = "ﴯ",
+ Interface = "",
+ Module = "",
+ Property = "ﰠ",
+ Unit = "塞",
+ Value = "",
+ Enum = "",
+ Keyword = "",
+ Snippet = "",
+ Color = "",
+ File = "",
+ Reference = "",
+ Folder = "",
+ EnumMember = "",
+ Constant = "",
+ Struct = "פּ",
+ Event = "",
+ Operator = "",
+ TypeParameter = ""
+ },
+})
|
