(zsh+vim) Add configuration for terraform
This commit is contained in:
parent
001f99a0ac
commit
5215c6d006
@ -23,7 +23,8 @@
|
|||||||
"command": "terraform-ls",
|
"command": "terraform-ls",
|
||||||
"args": ["serve"],
|
"args": ["serve"],
|
||||||
"filetypes": ["terraform", "tf", "hcl"],
|
"filetypes": ["terraform", "tf", "hcl"],
|
||||||
"initializationOptions": {}
|
"initializationOptions": {},
|
||||||
|
"settings": {}
|
||||||
},
|
},
|
||||||
"efm": {
|
"efm": {
|
||||||
"command": "efm-langserver",
|
"command": "efm-langserver",
|
||||||
|
@ -18,6 +18,8 @@ Plug 'ryanoasis/vim-devicons'
|
|||||||
" File finder and live grep
|
" File finder and live grep
|
||||||
Plug 'nvim-telescope/telescope.nvim', {'branch': '0.1.x'}
|
Plug 'nvim-telescope/telescope.nvim', {'branch': '0.1.x'}
|
||||||
Plug 'nvim-lua/plenary.nvim'
|
Plug 'nvim-lua/plenary.nvim'
|
||||||
|
|
||||||
|
" File highlighter with wide language support
|
||||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||||
|
|
||||||
" Grep utility for whole project
|
" Grep utility for whole project
|
||||||
@ -193,3 +195,6 @@ nnoremap <leader>t :TableFormat<CR>
|
|||||||
|
|
||||||
let g:coc_disable_startup_warning = 1
|
let g:coc_disable_startup_warning = 1
|
||||||
set mouse=
|
set mouse=
|
||||||
|
|
||||||
|
" Add treesitter highlight
|
||||||
|
lua require'nvim-treesitter.configs'.setup{highlight={enable=true}}
|
||||||
|
5
.zshrc
5
.zshrc
@ -111,6 +111,8 @@ alias gitcommiiiiiiiiiiiiiit='cz'
|
|||||||
|
|
||||||
alias clip='xclip -selection primary'
|
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"
|
# alias wg-reload="f() {sudo bash -c 'cd /etc/wireguard && wg syncconf $1 <(wg-quick strip $1)'};f"
|
||||||
function wg-reload() {
|
function wg-reload() {
|
||||||
sudo bash -c 'cd /etc/wireguard && wg syncconf $0 <(wg-quick strip $0)' $1
|
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.
|
# Generated for envman. Do not edit.
|
||||||
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
|
[ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user