From 893db87ecd7c3c56bd95b0c212059b60593bb895 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 9 Sep 2021 21:23:24 +0200 Subject: Add lsp kind --- .config/nvim/README.md | 4 ---- .config/nvim/lua/lsp/kind.lua | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 .config/nvim/lua/lsp/kind.lua (limited to '.config/nvim') 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 -- cgit v1.2.3-70-g09d2