From c017a102e4f33f0c6916e4f577602f233b08b03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 2 May 2022 09:22:18 +0200 Subject: comment some deprecated options --- lua/user/nvim-tree.lua | 32 ++++++++++++++++---------------- lua/user/treesitter.lua | 2 +- 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 = { -- cgit v1.1-2-g2b99