diff --git a/chezmoi/dot_zshenv b/chezmoi/dot_zshenv index 02d07aa..7544105 100644 --- a/chezmoi/dot_zshenv +++ b/chezmoi/dot_zshenv @@ -31,6 +31,10 @@ if [ -d "${HOME}/.local/bin" ]; then export PATH="${HOME}/.local/bin:$PATH" fi +if [ -d "${HOME}/.poetry/bin" ]; then + export PATH="${HOME}/.poetry/bin:$PATH" +fi + . "$HOME/.cargo/env" 2>/dev/null if command -v go &> /dev/null; then diff --git a/chezmoi/private_dot_config/nvim/lua/plugins/config/treesitter.lua b/chezmoi/private_dot_config/nvim/lua/plugins/config/treesitter.lua index 2b7c89b..2f18b0e 100644 --- a/chezmoi/private_dot_config/nvim/lua/plugins/config/treesitter.lua +++ b/chezmoi/private_dot_config/nvim/lua/plugins/config/treesitter.lua @@ -1,14 +1,28 @@ require'nvim-treesitter.configs'.setup { ensure_installed = "all", -- one of "all", "maintained" (parsers with maintainers), or a list of languages sync_install = false, -- install languages synchronously (only applied to `ensure_installed`) - ignore_install = {}, -- List of parsers to ignore installing + ignore_install = {"phpdoc", "tree-sitter-phpdoc"}, -- List of parsers to ignore installing + autopairs = { + enable = true, + }, highlight = { enable = true, -- false will disable the whole extension - disable = {}, -- list of language that will be disabled + disable = {"phpdoc", "tree-sitter-phpdoc"}, -- list of language that will be disabled -- 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, }, + rainbow = { + enable = true, + extended_mode = true, + }, + indent = { + enable = true, + }, + context_commentstring = { + enable = true, + enable_autocmd = true, + }, }