This commit is contained in:
Kulvir Singh
2025-01-19 14:50:14 +05:30
parent 37ca2b3724
commit 03ed96f25d
3 changed files with 6 additions and 5 deletions

View File

@@ -38,6 +38,7 @@
"raycast"
"obsidian"
"spotify"
"docker"
# not me using em :(
"mongodb-compass"

View File

@@ -8,8 +8,8 @@ return {
lint.linters_by_ft = {
-- python = { "ruff", "mypy" },
dockerfile = { "hadolint" },
json = { "jsonlint" },
markdown = { "vale" },
-- json = { "jsonlint" },
-- markdown = { "vale" },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,

View File

@@ -66,12 +66,12 @@ return {
"gofumpt",
"goimports-reviser",
"hadolint",
"jsonlint",
-- "jsonlint",
-- "mypy",
"prettier",
-- "ruff",
"stylua",
"vale",
-- "vale",
})
require("mason-tool-installer").setup { ensure_installed = ensure_installed }
@@ -131,7 +131,7 @@ return {
-- Execute a code action, usually your cursor needs to be on top of an error
-- or a suggestion from your LSP for this to activate.
map(vim.lsp.buf.code_action, "[C]ode [A]ction", "<leader>ca")
map("<leader>ca", vim.lsp.buf.code_action, "[C]ode [A]ction")
-- Opens a popup that displays documentation about the word under your cursor
-- See `:help K` for why this keymap.