update
This commit is contained in:
+3
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user