We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb57b7d commit e082b9eCopy full SHA for e082b9e
lua/kickstart/plugins/lint.lua
@@ -5,10 +5,9 @@ return {
5
event = { 'BufReadPre', 'BufNewFile' },
6
config = function()
7
local lint = require 'lint'
8
- lint.linters_by_ft = {
9
- markdown = { 'markdownlint' },
10
- clojure = { 'clj-kondo' },
11
- }
+ lint.linters_by_ft = lint.linters_by_ft or {}
+ lint.linters_by_ft['clojure'] = { 'clj-kondo' }
+ lint.linters_by_ft['markdown'] = nil
12
13
-- To allow other plugins to add linters to require('lint').linters_by_ft,
14
-- instead set linters_by_ft like this:
0 commit comments