mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-14 22:12:07 +01:00
21 lines
923 B
Text
21 lines
923 B
Text
|
(local nullls (require :null-ls))
|
||
|
|
||
|
(macro src [categ name]
|
||
|
`(. nullls :builtins ,categ ,name))
|
||
|
|
||
|
(nullls.setup {:sources [(src :code_actions :gitsigns)
|
||
|
(src :code_actions :shellcheck)
|
||
|
(src :diagnostics :fish)
|
||
|
(src :diagnostics :shellcheck)
|
||
|
(src :diagnostics :tidy)
|
||
|
;; a shitty python formatter
|
||
|
;; TODO: remove once done with involuntary python classes
|
||
|
(src :formatting :black)
|
||
|
(src :formatting :clang_format)
|
||
|
(src :formatting :fish_indent)
|
||
|
(src :formatting :fnlfmt)
|
||
|
(src :formatting :prettier)
|
||
|
(src :formatting :shfmt)
|
||
|
(src :formatting :stylua)
|
||
|
(src :formatting :tidy)]})
|