summaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2022-05-02 09:22:18 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2022-05-02 09:22:18 +0200
commitc017a102e4f33f0c6916e4f577602f233b08b03d (patch)
tree6b989071f70223815a29f2a17533c7a54fc12b06 /lua
parent29f2105afa85749aa4c88e58375530abade92253 (diff)
downloadvim-c017a102e4f33f0c6916e4f577602f233b08b03d.zip
vim-c017a102e4f33f0c6916e4f577602f233b08b03d.tar.gz
comment some deprecated options
Diffstat (limited to 'lua')
-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 = {