summaryrefslogtreecommitdiff
path: root/lua/config/linters.lua
diff options
context:
space:
mode:
authorYour Name <you@example.com>2024-07-03 17:03:56 +0100
committerYour Name <you@example.com>2024-07-03 17:03:56 +0100
commitc959b2112fb4c82b5bfd410df21706455225bd40 (patch)
tree6774868448d127c2f560827de8e5edbd868a2832 /lua/config/linters.lua
minor additionsHEADmaster
Diffstat (limited to 'lua/config/linters.lua')
-rw-r--r--lua/config/linters.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/config/linters.lua b/lua/config/linters.lua
new file mode 100644
index 0000000..8395999
--- /dev/null
+++ b/lua/config/linters.lua
@@ -0,0 +1,6 @@
+local linters = require "lvim.lsp.null-ls.linters"
+linters.setup {
+ { command = "flake8", filetypes = { "python" } },
+ { command = "chktex", filetypes = { "tex" } },
+}
+