mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
chore(nvim): change some settings
This commit is contained in:
@@ -119,7 +119,7 @@ local mappings = {
|
||||
u = { "<Cmd>Telescope frecency<CR>", "MRU (Frequency)" },
|
||||
},
|
||||
},
|
||||
P = { "<CMD>Pounce<CR>", "Pounce" },
|
||||
P = { "<CMD>Prettier<CR>", "Format with Prettier" },
|
||||
Q = { "<CMD>q!<CR>", "Quit" },
|
||||
R = { "<CMD>lua vim.lsp.buf.rename()<CR>", "Rename" },
|
||||
S = { "<CMD>lua require('spectre').open_visual({select_word=true})<CR>", "Spectre Current Word" },
|
||||
|
||||
@@ -19,10 +19,8 @@ null_ls.setup({
|
||||
code_actions.eslint_d.with({ diagnostics_format = "[eslint] #{m}\n(#{c})" }),
|
||||
code_actions.gitrebase,
|
||||
code_actions.gitsigns,
|
||||
code_actions.proselint,
|
||||
completion.luasnip,
|
||||
diagnostics.eslint_d,
|
||||
diagnostics.flake8, -- Python
|
||||
diagnostics.gitlint,
|
||||
diagnostics.golangci_lint,
|
||||
diagnostics.stylelint,
|
||||
@@ -37,7 +35,6 @@ null_ls.setup({
|
||||
formatting.goimports_reviser,
|
||||
formatting.prettierd,
|
||||
formatting.stylelint,
|
||||
formatting.stylua,
|
||||
formatting.trim_newlines,
|
||||
formatting.trim_whitespace,
|
||||
formatting.rustfmt,
|
||||
|
||||
@@ -150,7 +150,6 @@ local plugins = {
|
||||
"github/copilot.vim", -- GitHub Copilot
|
||||
"folke/todo-comments.nvim", -- Highlight TODO
|
||||
"DNLHC/glance.nvim", -- Pretty preview of LSP locations
|
||||
"rlane/pounce.nvim", -- Incremental fuzzy search motion
|
||||
"echasnovski/mini.nvim", -- Library with 20+ plugins
|
||||
"dhruvasagar/vim-table-mode", -- Markdown table mode
|
||||
{ "princejoogie/chafa.nvim", dependencies = { "nvim-lua/plenary.nvim", "m00qek/baleia.nvim" } }, -- Preview images in terminal
|
||||
|
||||
Reference in New Issue
Block a user