aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-01-20 15:40:02 +0100
committerKarel Kočí <cynerd@email.cz>2022-01-20 15:40:02 +0100
commit8fae57dbeab4e49ca2ef8e0806ef9a25789d5157 (patch)
tree2ae60d6bb2bee3ba1839e8ecf2d1a66a853444f1 /vim
parent658251b375c8f3a5051cd46e216445ba49728af2 (diff)
downloadmyconfigs-8fae57dbeab4e49ca2ef8e0806ef9a25789d5157.tar.gz
myconfigs-8fae57dbeab4e49ca2ef8e0806ef9a25789d5157.tar.bz2
myconfigs-8fae57dbeab4e49ca2ef8e0806ef9a25789d5157.zip
sway: various fixes and updates
Diffstat (limited to 'vim')
-rw-r--r--vim/ftdetect/lua.vim1
-rw-r--r--vim/ftplugin/python.vim2
2 files changed, 2 insertions, 1 deletions
diff --git a/vim/ftdetect/lua.vim b/vim/ftdetect/lua.vim
new file mode 100644
index 0000000..63d54d4
--- /dev/null
+++ b/vim/ftdetect/lua.vim
@@ -0,0 +1 @@
+au BufRead,BufNewFile *.lua.m4 set filetype=lua
diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim
index 3edc7b5..1eda902 100644
--- a/vim/ftplugin/python.vim
+++ b/vim/ftplugin/python.vim
@@ -1,6 +1,6 @@
setlocal colorcolumn=120
setlocal textwidth=120
-let b:ale_linters = ['pylsp', 'pylint', 'mypy']
+let b:ale_linters = ['pylsp', 'pylint', 'mypy', 'pydocstyle']
let b:ale_fixers = ['isort', 'black', 'remove_trailing_lines', 'trim_whitespace']
let g:ale_python_black_options = '-l 120'