diff options
author | Luc Sinet <[email protected]> | 2021-07-17 00:30:38 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-16 18:30:38 -0400 |
commit | 836286798e959fbaa43bd4502561cf85aea537c9 (patch) | |
tree | 821f5c459fb056c619aab9f34d802be8776a1cac /lua/core/which-key.lua | |
parent | fe48ed9ef9de8da8b9fbf7f82f8e0af1758581a4 (diff) |
[Feature] add linter support (#982)
Diffstat (limited to 'lua/core/which-key.lua')
-rw-r--r-- | lua/core/which-key.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/core/which-key.lua b/lua/core/which-key.lua index 6f034e3e..ec64074b 100644 --- a/lua/core/which-key.lua +++ b/lua/core/which-key.lua @@ -127,9 +127,10 @@ M.config = function() "<cmd>lua vim.lsp.diagnostic.goto_prev({popup_opts = {border = O.lsp.popup_border}})<cr>", "Prev Diagnostic", }, + l = { "<cmd>silent lua require('lint').try_lint()<cr>", "Lint" }, q = { "<cmd>Telescope quickfix<cr>", "Quickfix" }, r = { "<cmd>lua vim.lsp.buf.rename()<cr>", "Rename" }, - s = { "<cmd> Telescope lsp_document_symbols<cr>", "Document Symbols" }, + s = { "<cmd>Telescope lsp_document_symbols<cr>", "Document Symbols" }, S = { "<cmd>Telescope lsp_dynamic_workspace_symbols<cr>", "Workspace Symbols", |