chore(nvim): simplify imports and clean up plugin files

This commit is contained in:
Stefan Imhoff
2022-12-17 17:48:17 +01:00
parent 68a3d0deab
commit a7e00b506d
51 changed files with 245 additions and 487 deletions

View File

@@ -1,13 +1,6 @@
-- https://github.com/hrsh7th/nvim-cmp
local cmp_status_ok, cmp = pcall(require, "cmp")
if not cmp_status_ok then
return
end
local snip_status_ok, luasnip = pcall(require, "luasnip")
if not snip_status_ok then
return
end
local cmp = require("cmp")
local luasnip = require("luasnip")
require("luasnip/loaders/from_vscode").lazy_load()
@@ -16,7 +9,6 @@ local check_backspace = function()
return col == 0 or vim.fn.getline("."):sub(col, col):match("%s")
end
--   פּ ﯟ   some other good icons
local kind_icons = {
Text = "",
Method = "m",
@@ -45,7 +37,6 @@ local kind_icons = {
TypeParameter = "",
Octoface = "",
}
-- find more here: https://www.nerdfonts.com/cheat-sheet
cmp.setup({
snippet = {