set runtimepath^=~/.vim runtimepath+=~/.vim/after let &packpath = &runtimepath source ~/.vimrc lua << EOF require('nvim-tree').setup({ disable_netrw = true, hijack_netrw = true, open_on_tab = true, hijack_cursor = false, update_cwd = false, respect_buf_cwd = true, diagnostics = { enable = false, icons = { hint = "", info = "", warning = "", error = "" } }, update_focused_file = { enable = false, update_cwd = false, ignore_list = {} }, system_open = { cmd = nil, args = {} }, filters = { dotfiles = false, custom = {} }, git = { enable = true, ignore = true, timeout = 500 }, view = { width = 30, side = 'left', number = false, relativenumber = false, signcolumn = "yes" }, trash = { cmd = "trash", require_confirm = true }, actions = { open_file = { quit_on_open = false, resize_window = true, window_picker = { enable = false, exclude = { filetype = { notify = 1, packer = 1, qf = 1 }, buftype = {'terminal'} } } }, change_dir = { global = false } }, renderer = { indent_markers = {enable = true}, highlight_git = true, highlight_opened_files = "icon", root_folder_modifier = ":~", add_trailing = true, group_empty = true, special_files = { README = 1, Makefile = 1 }, icons = { padding = " ", symlink_arrow = " >> ", show = { git = true, folder = true, file = true, folder_arrow = true }, glyphs = { default = "", symlink = "", git = { unstaged = "✗", staged = "✓", unmerged = "", renamed = "➜", untracked = "★", deleted = "", ignored = "◌" }, folder = { arrow_open = "", arrow_closed = "", default = "", open = "", empty = "", empty_open = "", symlink = "", symlink_open = "" } } } } }) require('nvim-treesitter.configs').setup({ -- One of "all", "maintained" (parsers with maintainers), or a list of languages ensure_installed = "all", -- Install languages synchronously (only applied to `ensure_installed`) sync_install = false, -- List of parsers to ignore installing ignore_install = {"phpdoc"}, highlight = { -- `false` will disable the whole extension enable = true, disable = {}, -- Setting this to true will run `:h syntax` and tree-sitter at the same time. -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). -- Using this option may slow down your editor, and you may see some duplicate highlights. -- Instead of true it can also be a list of languages additional_vim_regex_highlighting = false, }, incremental_selection = { enable = true, keymaps = { init_selection = "gnn", node_incremental = "grn", scope_incremental = "grc", node_decremental = "grm", }, }, }) EOF