diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json index 4b4155e..5efe8ff 100644 --- a/.config/nvim/coc-settings.json +++ b/.config/nvim/coc-settings.json @@ -23,7 +23,8 @@ "command": "terraform-ls", "args": ["serve"], "filetypes": ["terraform", "tf", "hcl"], - "initializationOptions": {} + "initializationOptions": {}, + "settings": {} }, "efm": { "command": "efm-langserver", diff --git a/.config/nvim/legacy.vim b/.config/nvim/legacy.vim index 87a8420..87ed701 100644 --- a/.config/nvim/legacy.vim +++ b/.config/nvim/legacy.vim @@ -18,6 +18,8 @@ Plug 'ryanoasis/vim-devicons' " File finder and live grep Plug 'nvim-telescope/telescope.nvim', {'branch': '0.1.x'} Plug 'nvim-lua/plenary.nvim' + +" File highlighter with wide language support Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " Grep utility for whole project @@ -193,3 +195,6 @@ nnoremap t :TableFormat let g:coc_disable_startup_warning = 1 set mouse= + +" Add treesitter highlight +lua require'nvim-treesitter.configs'.setup{highlight={enable=true}} diff --git a/.zshrc b/.zshrc index 3f685fa..7b5d9ea 100644 --- a/.zshrc +++ b/.zshrc @@ -111,6 +111,8 @@ alias gitcommiiiiiiiiiiiiiit='cz' alias clip='xclip -selection primary' +alias w='watch -n 1' + # alias wg-reload="f() {sudo bash -c 'cd /etc/wireguard && wg syncconf $1 <(wg-quick strip $1)'};f" function wg-reload() { sudo bash -c 'cd /etc/wireguard && wg syncconf $0 <(wg-quick strip $0)' $1 @@ -124,3 +126,6 @@ function wg-reload() { # Generated for envman. Do not edit. [ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh" + +autoload -U +X bashcompinit && bashcompinit +complete -o nospace -C /usr/bin/terraform terraform