nvchad/lua/plugins/init.lua

52 lines
1.2 KiB
Lua

return {
{
"stevearc/conform.nvim",
-- event = 'BufWritePre', -- uncomment for format on save
opts = require "configs.conform",
},
-- These are some examples, uncomment them if you want to see them work!
{
"neovim/nvim-lspconfig",
config = function()
require "configs.lspconfig"
end,
},
{
'nvim-telescope/telescope.nvim',
requires = { {'nvim-lua/plenary.nvim'} },
config = function()
require('telescope').setup {
defaults = {
-- Your default configuration for Telescope (optional)
}
}
end
},
{
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
config = function()
require'nvim-treesitter.configs'.setup {
-- Enable Treesitter syntax highlighting
ensure_installed = { "markdown", "sql","vim",
"lua", "vimdoc", "html", "css" }, -- add other languages if needed
highlight = {
enable = true,
additional_vim_regex_highlighting = { "markdown" },
},
}
end,
},
-- {
-- "nvim-treesitter/nvim-treesitter",
-- opts = {
-- ensure_installed = {
-- "vim", "lua", "vimdoc",
-- "html", "css"
-- },
-- },
-- },
}