Skip to content

Commit e082b9e

Browse files
committed
change lint config
1 parent cb57b7d commit e082b9e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lua/kickstart/plugins/lint.lua

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ return {
55
event = { 'BufReadPre', 'BufNewFile' },
66
config = function()
77
local lint = require 'lint'
8-
lint.linters_by_ft = {
9-
markdown = { 'markdownlint' },
10-
clojure = { 'clj-kondo' },
11-
}
8+
lint.linters_by_ft = lint.linters_by_ft or {}
9+
lint.linters_by_ft['clojure'] = { 'clj-kondo' }
10+
lint.linters_by_ft['markdown'] = nil
1211

1312
-- To allow other plugins to add linters to require('lint').linters_by_ft,
1413
-- instead set linters_by_ft like this:

0 commit comments

Comments
 (0)