diff options
| author | Trey Bastian <hello@treybastian.com> | 2026-02-19 11:27:04 +0000 |
|---|---|---|
| committer | Trey Bastian <hello@treybastian.com> | 2026-02-19 11:27:04 +0000 |
| commit | 7f72818a2a8b79dd0f88157bfff430a2c08b0242 (patch) | |
| tree | fa8ad2ad1255aa3b3a73f400fef0f4d8c295abbf /lua/config/lint.lua | |
| parent | 6edc72539468ed40101c56288ba6a4c10c85d382 (diff) | |
streamlined lsp formatter linter and debugger setup
Diffstat (limited to 'lua/config/lint.lua')
| -rw-r--r-- | lua/config/lint.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/config/lint.lua b/lua/config/lint.lua new file mode 100644 index 0000000..344e84e --- /dev/null +++ b/lua/config/lint.lua @@ -0,0 +1,11 @@ +vim.pack.add({ "https://codeberg.org/mfussenegger/nvim-lint" }) + +require("lint").linters_by_ft = { + markdown = { "vale" }, +} + +vim.api.nvim_create_autocmd({ "BufWritePost" }, { + callback = function() + require("lint").try_lint() + end, +}) |
