This commit is contained in:
veypi
2022-04-22 17:42:26 +08:00
parent 6df91b3fa5
commit ac027655e9
8 changed files with 100 additions and 98 deletions
+3 -1
View File
@@ -6,6 +6,7 @@ local tree_cb = require 'nvim-tree.config'.nvim_tree_callback -- following optio
-- a add file/dir
require 'nvim-tree'.setup {
open_on_setup = true;
open_on_setup_file = false,
git = {
enable = true,
ignore = true,
@@ -21,6 +22,7 @@ require 'nvim-tree'.setup {
args = {},
},
view = {
width = 24,
mappings = {
custom_only = true,
list = {
@@ -68,7 +70,7 @@ vim.cmd([[colorscheme gruvbox]])
vim.opt.termguicolors = true
require("bufferline").setup {
options = {
sort_by = 'insert_after_current',
sort_by = 'id',
numbers = 'ordinal',
-- 左侧让出 nvim-tree 的位置
diagnostics = "nvim_lsp";