summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/after/ftplugin/c.vim1
-rw-r--r--.config/nvim/after/ftplugin/java.vim1
-rw-r--r--.config/nvim/after/ftplugin/lua.vim1
-rw-r--r--.config/nvim/after/ftplugin/markdown.vim1
-rw-r--r--.config/nvim/after/ftplugin/python.vim4
-rw-r--r--.config/nvim/after/ftplugin/rust.vim3
-rw-r--r--.config/nvim/after/ftplugin/sh.vim1
-rw-r--r--.config/nvim/after/ftplugin/tex.vim3
-rw-r--r--.config/nvim/init.lua4
-rw-r--r--.config/nvim/lua/plugin_settings.lua6
10 files changed, 6 insertions, 19 deletions
diff --git a/.config/nvim/after/ftplugin/c.vim b/.config/nvim/after/ftplugin/c.vim
index 49b3953..73fdd4b 100644
--- a/.config/nvim/after/ftplugin/c.vim
+++ b/.config/nvim/after/ftplugin/c.vim
@@ -1,4 +1,3 @@
1setlocal shiftwidth=8 1setlocal shiftwidth=8
2setlocal tabstop=8 2setlocal tabstop=8
3setlocal expandtab 3setlocal expandtab
4let b:ale_fixers = ['clang-format']
diff --git a/.config/nvim/after/ftplugin/java.vim b/.config/nvim/after/ftplugin/java.vim
index 243baeb..5441d82 100644
--- a/.config/nvim/after/ftplugin/java.vim
+++ b/.config/nvim/after/ftplugin/java.vim
@@ -1,2 +1 @@
1let b:ale_linters = ['javac']
2let b:dispatch = 'javac %' let b:dispatch = 'javac %'
diff --git a/.config/nvim/after/ftplugin/lua.vim b/.config/nvim/after/ftplugin/lua.vim
deleted file mode 100644
index 5611ba5..0000000
--- a/.config/nvim/after/ftplugin/lua.vim
+++ /dev/null
@@ -1 +0,0 @@
1let b:ale_fixers = ['lua-format']
diff --git a/.config/nvim/after/ftplugin/markdown.vim b/.config/nvim/after/ftplugin/markdown.vim
deleted file mode 100644
index 656bff4..0000000
--- a/.config/nvim/after/ftplugin/markdown.vim
+++ /dev/null
@@ -1 +0,0 @@
1let b:ale_linters = ['languagetool', 'proselint']
diff --git a/.config/nvim/after/ftplugin/python.vim b/.config/nvim/after/ftplugin/python.vim
deleted file mode 100644
index 6bdca5e..0000000
--- a/.config/nvim/after/ftplugin/python.vim
+++ /dev/null
@@ -1,4 +0,0 @@
1let b:ale_fixers = ['black', 'isort']
2let b:ale_linters = ['flake8', 'bandit']
3let g:ale_python_flake8_options = '--max-line-length=88'
4
diff --git a/.config/nvim/after/ftplugin/rust.vim b/.config/nvim/after/ftplugin/rust.vim
index 40d2549..fb601d1 100644
--- a/.config/nvim/after/ftplugin/rust.vim
+++ b/.config/nvim/after/ftplugin/rust.vim
@@ -1,6 +1,3 @@
1let b:ale_fixers = ['rustfmt']
2let b:ale_linters = ['rls']
3
4setlocal tags=./rusty-tags.vi;/ 1setlocal tags=./rusty-tags.vi;/
5 2
6autocmd BufWritePost *.rs :silent! exec "!rusty-tags vi --quiet --start-dir=" . expand('%:p:h') . "&" | redraw! 3autocmd BufWritePost *.rs :silent! exec "!rusty-tags vi --quiet --start-dir=" . expand('%:p:h') . "&" | redraw!
diff --git a/.config/nvim/after/ftplugin/sh.vim b/.config/nvim/after/ftplugin/sh.vim
deleted file mode 100644
index 70f6252..0000000
--- a/.config/nvim/after/ftplugin/sh.vim
+++ /dev/null
@@ -1 +0,0 @@
1let b:ale_fixers = ['shfmt']
diff --git a/.config/nvim/after/ftplugin/tex.vim b/.config/nvim/after/ftplugin/tex.vim
index 04307e4..27b002a 100644
--- a/.config/nvim/after/ftplugin/tex.vim
+++ b/.config/nvim/after/ftplugin/tex.vim
@@ -17,6 +17,3 @@ call sandwich#util#addlocal([{
17 \ 'buns': ['\enquote{', '}'], 17 \ 'buns': ['\enquote{', '}'],
18 \ 'input': ['"'], 18 \ 'input': ['"'],
19\ }]) 19\ }])
20
21let b:ale_linters = ['chktex', 'texlab', 'proselint']
22let b:ale_fixers = ['latexindent']
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 4644f60..cd20fc3 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -11,10 +11,6 @@
11-- │ ▘▝▀▘▝▀▘│ 11-- │ ▘▝▀▘▝▀▘│
12-- └────────┘ 12-- └────────┘
13 13
14-- do not source the default filetype.vim
15-- needed for filetype.nvim
16vim.g.did_load_filetypes = 1
17
18require('plugins') 14require('plugins')
19require('settings') 15require('settings')
20require('plugin_settings') 16require('plugin_settings')
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua
index ddc7371..277e196 100644
--- a/.config/nvim/lua/plugin_settings.lua
+++ b/.config/nvim/lua/plugin_settings.lua
@@ -353,6 +353,12 @@ for _, lsp in ipairs(servers) do
353 } 353 }
354end 354end
355 355
356nvim_lsp['efm'].setup{
357 on_attach = on_attach,
358 filetypes = { 'sh' },
359 capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
360}
361
356-- }}} nvim-lsp -- 362-- }}} nvim-lsp --
357 363
358-- vista {{{ -- 364-- vista {{{ --