Compare commits
No commits in common. "c9e356a5845975c92922e2b7db217f2c5d9b2943" and "bb7aa523a6827707f2b739b213d4591edb66ca79" have entirely different histories.
c9e356a584
...
bb7aa523a6
@ -655,11 +655,3 @@ let $FZF_DEFAULT_COMMAND = 'find . -type f -not -path "*/\.git/*" -not -path "*/
|
|||||||
command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(<q-args>), 1, <bang>0)
|
command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(<q-args>), 1, <bang>0)
|
||||||
command! -bang -nargs=* FindCurrentWord call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(expand('<cword>')), 1, <bang>0)
|
command! -bang -nargs=* FindCurrentWord call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(expand('<cword>')), 1, <bang>0)
|
||||||
set grepprg=rg\ --vimgrep
|
set grepprg=rg\ --vimgrep
|
||||||
|
|
||||||
" Custom functions "
|
|
||||||
function! RemoveForti()
|
|
||||||
:%g/set uuid .*/d
|
|
||||||
:%g/set comments .*/d
|
|
||||||
:%s/edit .*/edit 0/g
|
|
||||||
:%s/ \+//g
|
|
||||||
endfunction
|
|
||||||
|
@ -64,13 +64,13 @@ function install_lazy() {
|
|||||||
|
|
||||||
function install_terraform() {
|
function install_terraform() {
|
||||||
# Install terraform and terraform-ls
|
# Install terraform and terraform-ls
|
||||||
|
GO111MODULE=on go install github.com/hashicorp/terraform@latest
|
||||||
GO111MODULE=on go install github.com/hashicorp/terraform-ls@latest
|
GO111MODULE=on go install github.com/hashicorp/terraform-ls@latest
|
||||||
if [[ "$(uname)" == "Darwin" ]]; then
|
if [[ "$(uname)" == "Darwin" ]]; then
|
||||||
brew install tflint -q
|
brew install tflint -q
|
||||||
brew install tfenv -q
|
brew install tfenv -q
|
||||||
TFENV_ARCH=amd64 tfenv install latest
|
TFENV_ARCH=amd64 tfenv install latest
|
||||||
else
|
else
|
||||||
GO111MODULE=on go install github.com/hashicorp/terraform@latest
|
|
||||||
curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
|
curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user