summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lua/user/nvim-tree.lua32
-rw-r--r--lua/user/treesitter.lua2
2 files changed, 17 insertions, 17 deletions
diff --git a/lua/user/nvim-tree.lua b/lua/user/nvim-tree.lua
index c7e17ef..999158c 100644
--- a/lua/user/nvim-tree.lua
+++ b/lua/user/nvim-tree.lua
@@ -41,10 +41,10 @@ nvim_tree.setup {
open_on_tab = false,
hijack_cursor = false,
update_cwd = true,
- update_to_buf_dir = {
- enable = true,
- auto_open = true,
- },
+ -- update_to_buf_dir = {
+ -- enable = true,
+ -- auto_open = true,
+ -- },
diagnostics = {
enable = true,
icons = {
@@ -77,7 +77,7 @@ nvim_tree.setup {
height = 30,
hide_root_folder = false,
side = "left",
- auto_resize = true,
+ -- auto_resize = true,
mappings = {
custom_only = false,
list = { -- see https://github.com/kyazdani42/nvim-tree.lua#keybindings
@@ -95,15 +95,15 @@ nvim_tree.setup {
cmd = "trash",
require_confirm = true,
},
- 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,
- },
+ -- 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/lua/user/treesitter.lua b/lua/user/treesitter.lua
index 5ca5444..05d8fbf 100644
--- a/lua/user/treesitter.lua
+++ b/lua/user/treesitter.lua
@@ -5,7 +5,7 @@ if not status_ok then
end
configs.setup {
- ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
+ ensure_installed = {"ruby"}, -- one of "all" or a list of languages
sync_install = false, -- install languages synchronously (only applied to `ensure_installed`)
ignore_install = { "" }, -- List of parsers to ignore installing
autopairs = {