From 9d1cc2fb3998fdc380a62a3ab21d56ba64aa4441 Mon Sep 17 00:00:00 2001 From: _N0x Date: Wed, 8 Jun 2022 11:46:01 +0200 Subject: [PATCH] Fixed issues in nvim config --- nvim/.config/nvim/lua/user/cmp.lua | 3 --- nvim/.config/nvim/lua/user/nvim-tree.lua | 16 ---------------- nvim/.config/nvim/lua/user/treesitter.lua | 2 +- 3 files changed, 1 insertion(+), 20 deletions(-) diff --git a/nvim/.config/nvim/lua/user/cmp.lua b/nvim/.config/nvim/lua/user/cmp.lua index a151214..07974e3 100644 --- a/nvim/.config/nvim/lua/user/cmp.lua +++ b/nvim/.config/nvim/lua/user/cmp.lua @@ -119,9 +119,6 @@ cmp.setup { behavior = cmp.ConfirmBehavior.Replace, select = false, }, - documentation = { - border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" }, - }, experimental = { ghost_text = false, native_menu = false, diff --git a/nvim/.config/nvim/lua/user/nvim-tree.lua b/nvim/.config/nvim/lua/user/nvim-tree.lua index 543fb9b..cccfbc7 100644 --- a/nvim/.config/nvim/lua/user/nvim-tree.lua +++ b/nvim/.config/nvim/lua/user/nvim-tree.lua @@ -45,10 +45,6 @@ nvim_tree.setup { open_on_tab = false, hijack_cursor = false, update_cwd = true, - update_to_buf_dir = { - enable = true, - auto_open = true, - }, diagnostics = { enable = true, icons = { @@ -73,7 +69,6 @@ nvim_tree.setup { height = 30, hide_root_folder = false, side = "left", - auto_resize = true, mappings = { custom_only = false, list = { @@ -85,15 +80,4 @@ nvim_tree.setup { number = false, relativenumber = false, }, - quit_on_open = 0, - git_hl = 1, - disable_window_picker = 0, - root_folder_modifier = ":t", - show_icons = { - git = 1, - folders = 1, - files = 1, - folder_arrows = 1, - tree_width = 30, - }, } diff --git a/nvim/.config/nvim/lua/user/treesitter.lua b/nvim/.config/nvim/lua/user/treesitter.lua index 8a89492..274516d 100644 --- a/nvim/.config/nvim/lua/user/treesitter.lua +++ b/nvim/.config/nvim/lua/user/treesitter.lua @@ -1,6 +1,6 @@ local configs = require("nvim-treesitter.configs") configs.setup { - ensure_installed = "maintained", + ensure_installed = {"c", "cpp"}, sync_install = false, ignore_install = { "" }, -- List of parsers to ignore installing highlight = {