This commit is contained in:
Dominic DiTaranto 2025-11-25 15:45:40 -05:00
parent 00c18da4fb
commit 562b8065ec

View file

@ -136,6 +136,9 @@ vim.pack.add({
-- dashboard
{ src = "https://github.com/nvimdev/dashboard-nvim" },
-- prettier
{ src = "https://github.com/MunifTanjim/prettier.nvim" },
})
-- telescope (sadly these configs need to be after vimpack)
@ -340,3 +343,26 @@ for _, plugin in pairs(enable_providers) do
end
vim.g.loaded_python3_provider = nil
require("prettier").setup({
bin = 'prettier', -- or `'prettierd'` (v0.23.3+)
filetypes = {
"css",
"graphql",
"html",
"javascript",
"javascriptreact",
"json",
"less",
"markdown",
"scss",
"typescript",
"typescriptreact",
"yaml",
},
})
vim.api.nvim_create_autocmd("FileType", {
pattern = "htmldjango",
command = "setlocal shiftwidth=2 tabstop=2"
})