mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-25 18:07:07 +09:00
Add nix language syntax (#2024)
* Create nix.yaml Add nix language syntax * Add nix-linter
This commit is contained in:
@@ -86,6 +86,7 @@ function preinit()
|
||||
makeLinter("swiftc", "swift", "xcrun", {"swiftc", "%f"}, "%f:%l:%c:.+: %m", {"darwin"}, true)
|
||||
makeLinter("swiftc", "swift", "swiftc", {"%f"}, "%f:%l:%c:.+: %m", {"linux"}, true)
|
||||
makeLinter("yaml", "yaml", "yamllint", {"--format", "parsable", "%f"}, "%f:%l:%c:.+ %m")
|
||||
makeLinter("nix-linter", "nix", "nix-linter", {"%f"}, "%m at %f:%l:%c", {"linux"}, true)
|
||||
|
||||
config.MakeCommand("lint", function(bp, args)
|
||||
bp:Save()
|
||||
|
||||
Reference in New Issue
Block a user