nvim
This commit is contained in:
parent
e1512e79af
commit
fe74dee2a1
4 changed files with 14 additions and 10 deletions
|
@ -156,13 +156,10 @@ local servers = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ocamllsp = {},
|
elixirls = {
|
||||||
-- denols = {},
|
cmd = { "elixir-ls" }
|
||||||
-- svelte = {},
|
},
|
||||||
-- tailwindcss = {
|
tsserver = {},
|
||||||
-- root_dir = lspconfig.util.root_pattern("tailwind.config.js", "tailwind.config.ts", "tailwind.config.cjs"),
|
|
||||||
-- },
|
|
||||||
-- tsserver = {},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for lsp, settings in pairs(servers) do
|
for lsp, settings in pairs(servers) do
|
||||||
|
|
6
nvim/dot-config/nvim/after/plugin/mason.lua
Normal file
6
nvim/dot-config/nvim/after/plugin/mason.lua
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
local ok, mason = pcall(require, "mason")
|
||||||
|
if not ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
mason.setup()
|
|
@ -7,9 +7,9 @@ treesitter.setup {
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
},
|
},
|
||||||
indent = {
|
-- indent = {
|
||||||
enable = { "php" },
|
-- enable = { "php" },
|
||||||
},
|
-- },
|
||||||
textobjects = {
|
textobjects = {
|
||||||
select = {
|
select = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
|
|
@ -28,6 +28,7 @@ require "paq" {
|
||||||
"windwp/nvim-autopairs",
|
"windwp/nvim-autopairs",
|
||||||
"goolord/alpha-nvim",
|
"goolord/alpha-nvim",
|
||||||
"mickael-menu/zk-nvim",
|
"mickael-menu/zk-nvim",
|
||||||
|
"williamboman/mason.nvim",
|
||||||
|
|
||||||
-- Treesitter
|
-- Treesitter
|
||||||
{ "nvim-treesitter/nvim-treesitter", run = vim.cmd.TSUpdate, branch = "v0.9.0" },
|
{ "nvim-treesitter/nvim-treesitter", run = vim.cmd.TSUpdate, branch = "v0.9.0" },
|
||||||
|
|
Loading…
Reference in a new issue