diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-12-01 19:29:27 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-12-01 19:29:27 -0500 |
commit | d2f6e2bd0418d8aee0cc7a78471cfc8be1f00392 (patch) | |
tree | 3bfa05a23f220806b74b123398570b8901152699 | |
parent | 4fc4ce019d28a7b65201a11773a62ccf33b65e93 (diff) | |
download | conf-d2f6e2bd0418d8aee0cc7a78471cfc8be1f00392.tar.gz conf-d2f6e2bd0418d8aee0cc7a78471cfc8be1f00392.zip |
some more vim filetype config
-rw-r--r-- | vim/ftplugin/go.vim | 2 | ||||
-rw-r--r-- | vim/ftplugin/python.vim | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/vim/ftplugin/go.vim b/vim/ftplugin/go.vim index eb9c22a..c4c065b 100644 --- a/vim/ftplugin/go.vim +++ b/vim/ftplugin/go.vim @@ -1,3 +1,5 @@ setlocal ts=4 let b:ale_fixers = {"go": ["gofmt"]} let b:ale_fix_on_save = 1 + +map <buffer> <CR> :ALEGoToDefinition<CR> diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim index 3876ad2..5bf8dba 100644 --- a/vim/ftplugin/python.vim +++ b/vim/ftplugin/python.vim @@ -16,4 +16,4 @@ map <buffer> <CR> :ALEGoToDefinition<CR> let b:ale_fixers = { 'python': ['black', 'isort'] } let b:ale_fix_on_save = 1 -let b:ale_python_flake8_options = '--max-line-length 1000'
\ No newline at end of file +let b:ale_python_flake8_options = '--max-line-length 1000 --ignore=E203,W503 --extend-select=W504'
\ No newline at end of file |