- Add detailed SQL formatter config (pg_format, sqlfluff with args) - Add Mason plugin for installing formatters - Add conform keybinding (g+w) for manual formatting - Add gitsigns blame keybinding (<leader>gb) - Add comments to organize plugin sections - Keep vscode_dark theme and generic home paths Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
84 lines
1.7 KiB
Lua
84 lines
1.7 KiB
Lua
return {
|
|
-- Conform (formatter)
|
|
{
|
|
"stevearc/conform.nvim",
|
|
lazy = false,
|
|
cmd = { "ConformInfo", "ConformFormat" }, -- enables :ConformInfo before load
|
|
keys = {
|
|
{
|
|
"g+w",
|
|
function()
|
|
require("conform").format({ async = false, lsp_fallback = true })
|
|
end,
|
|
mode = "n",
|
|
desc = "Format file (Conform)",
|
|
},
|
|
},
|
|
config = function()
|
|
require("conform").setup(require "configs.conform")
|
|
end,
|
|
},
|
|
|
|
-- LSP
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
config = function()
|
|
require "configs.lspconfig"
|
|
end,
|
|
},
|
|
|
|
-- File explorer
|
|
{
|
|
"nvim-tree/nvim-tree.lua",
|
|
opts = require "configs.nvimtree",
|
|
},
|
|
|
|
-- Telescope
|
|
{
|
|
'nvim-telescope/telescope.nvim',
|
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
|
config = function()
|
|
require "configs.telescope"
|
|
end
|
|
},
|
|
|
|
-- Treesitter
|
|
{
|
|
'nvim-treesitter/nvim-treesitter',
|
|
build = ':TSUpdate',
|
|
config = function()
|
|
require'nvim-treesitter.configs'.setup {
|
|
ensure_installed = { "markdown", "sql", "vim", "lua", "vimdoc", "html", "css" },
|
|
highlight = {
|
|
enable = true,
|
|
additional_vim_regex_highlighting = { "markdown" },
|
|
},
|
|
}
|
|
end,
|
|
},
|
|
|
|
-- Transparent
|
|
{
|
|
'xiyaowong/transparent.nvim',
|
|
lazy = false
|
|
},
|
|
|
|
-- Mason (to install formatters like pgformatter/sqlfluff)
|
|
{
|
|
"williamboman/mason.nvim",
|
|
cmd = { "Mason", "MasonInstall", "MasonUpdate" },
|
|
config = function()
|
|
require("mason").setup()
|
|
end,
|
|
},
|
|
-- {
|
|
-- "nvim-treesitter/nvim-treesitter",
|
|
-- opts = {
|
|
-- ensure_installed = {
|
|
-- "vim", "lua", "vimdoc",
|
|
-- "html", "css"
|
|
-- },
|
|
-- },
|
|
-- },
|
|
}
|