diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-09-09 21:23:24 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-09-09 21:23:24 +0200 |
commit | 893db87ecd7c3c56bd95b0c212059b60593bb895 (patch) | |
tree | bfbe914dcf9ef9aa517e4a92bd10ce9662e2cae1 /.config/nvim | |
parent | 81b5ea969f26c520c4da9248d5e6d9b6a32b709c (diff) |
Add lsp kind
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/README.md | 4 | ||||
-rw-r--r-- | .config/nvim/lua/lsp/kind.lua | 31 |
2 files changed, 31 insertions, 4 deletions
diff --git a/.config/nvim/README.md b/.config/nvim/README.md index 3269ca0..7f39a9b 100644 --- a/.config/nvim/README.md +++ b/.config/nvim/README.md @@ -1,6 +1,2 @@ # Neovim -Most of my config is stolen from https://github.com/ChristianChiarulli/LunarVim - -TODO - - [ ] compe to cmp diff --git a/.config/nvim/lua/lsp/kind.lua b/.config/nvim/lua/lsp/kind.lua new file mode 100644 index 0000000..b78fd31 --- /dev/null +++ b/.config/nvim/lua/lsp/kind.lua @@ -0,0 +1,31 @@ +local M = {} + +M.icons = { + Class = " ", + Color = " ", + Constant = "ﲀ ", + Constructor = " ", + Enum = "練", + EnumMember = " ", + Event = " ", + Field = " ", + File = "", + Folder = " ", + Function = " ", + Interface = "ﰮ ", + Keyword = " ", + Method = " ", + Module = " ", + Operator = "", + Property = " ", + Reference = " ", + Snippet = " ", + Struct = " ", + Text = " ", + TypeParameter = " ", + Unit = "塞", + Value = " ", + Variable = " ", +} + +return M |