diff --git a/vimrc b/vimrc index b8e02e2..f6bb491 100644 --- a/vimrc +++ b/vimrc @@ -213,6 +213,7 @@ let g:ale_rust_analyzer_config = { \ 'checkOnSave': { 'command': 'clippy', 'enable': v:true }, \ } let g:ale_go_goimports_options = '-local github.com/sensiblecodeio/cantabular' +let g:ale_go_gopls_options = '' " TODO: composite keys? let g:ale_command_wrapper = 'nice -n5' let g:ale_completion_enabled = 1 let g:ale_close_preview_on_insert = 1 @@ -224,6 +225,7 @@ let g:ale_linters = { \ 'go': ['gopls'], \ 'rust': ['analyzer'], \ 'css': ['stylelint'], + \ 'python': ['pyls'], \ } let g:ale_fixers = { \ '*': ['remove_trailing_lines', 'trim_whitespace'], @@ -231,6 +233,7 @@ let g:ale_fixers = { \ 'rust': [], \ 'go': [], \ 'css': ['stylelint'], + \ 'python': ['autopep8'], \ } " load ALE only after configured: diff --git a/zshrc b/zshrc index 83b0872..ea6356e 100644 --- a/zshrc +++ b/zshrc @@ -112,6 +112,7 @@ export GOPATH=$HOME/go # set PATHs (highest priority last) export PATH=$HOME/go/bin:$PATH +export PATH=$HOME/local/sbin:$PATH export PATH=$HOME/local/bin:$PATH export PATH=$HOME/bin:$PATH export PATH=$HOME/.local/bin:$PATH @@ -131,7 +132,7 @@ alias hib="sudo systemctl hibernate" alias dcd="docker-compose -f docker-compose.yml -f docker-compose.development.yml" alias tmkp="tmux kill-pane" alias tmkw="tmux kill-window" -# TODO add wg +alias updatevimplugins="cd $HOME/.vim/pack/git-plugins && find -maxdepth 2 -type d | xargs -I{} bash -c 'cd {} ; git pull --rebase' ; cd -" # recursive grep with line numbers and colour, ignoring binary files: alias gnr="grep -nR -I --color"