mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(nvim): LSPs and refractor plugins.lang
This commit is contained in:
parent
9315c6e55d
commit
5f5e41c247
15 changed files with 85 additions and 42 deletions
50
tools/nvim/lua/plugins/lang/init.lua
Normal file
50
tools/nvim/lua/plugins/lang/init.lua
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
return {
|
||||
{ import = "plugins.lang.org" },
|
||||
{ import = "plugins.lang.markdown" },
|
||||
{ import = "plugins.lang.just" },
|
||||
{ import = "plugins.lang.typst" },
|
||||
{ import = "plugins.lang.beancount" },
|
||||
{ import = "plugins.lang.tex" },
|
||||
{ import = "plugins.lang.lua" },
|
||||
{ import = "plugins.mod.trouble-nvim" },
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
cmd = "Mason",
|
||||
build = ":MasonUpdate",
|
||||
-- opts_extend = { "ensure_installed" },
|
||||
opts = {
|
||||
-- ensure_installed = require("config.servers").servers,
|
||||
},
|
||||
},
|
||||
-- {
|
||||
-- "williamboman/mason-lspconfig.nvim",
|
||||
-- event = "BufReadPre",
|
||||
-- dependencies = {
|
||||
-- { "williamboman/mason.nvim" },
|
||||
-- { "neovim/nvim-lspconfig" },
|
||||
-- },
|
||||
-- opts = {
|
||||
-- -- ensure_installed = require("config.servers").servers,
|
||||
-- -- automatic_installation = false,
|
||||
-- },
|
||||
-- },
|
||||
{ import = "plugins.mod.conform-nvim" },
|
||||
{ "nvim-treesitter/nvim-treesitter-context", lazy = true },
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
run = ":TSUpdate",
|
||||
cmd = {
|
||||
"TSInstall",
|
||||
"TSUpdate",
|
||||
"TSUpdateSync",
|
||||
},
|
||||
event = {
|
||||
"VeryLazy",
|
||||
},
|
||||
opts = {
|
||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "markdown", "markdown_inline" },
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue