1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-19 14:44:46 +01:00

Merge branch 'server' of github:tiyn/dotfiles into server

This commit is contained in:
2026-03-16 04:07:46 +01:00
4 changed files with 30 additions and 21 deletions

View File

@@ -16,6 +16,7 @@ return {
require("luasnip.loaders.from_snipmate").lazy_load() require("luasnip.loaders.from_snipmate").lazy_load()
end, end,
version = "v2.*", version = "v2.*",
-- build = "make install_jsregexp",
dependencies = { "saadparwaiz1/cmp_luasnip" }, dependencies = { "saadparwaiz1/cmp_luasnip" },
}, },
}, },

View File

@@ -28,13 +28,13 @@ return {
-- c -- c
"clangd", "clangd",
-- docker -- docker
"dockerls", -- "dockerls", -- TODO: needs extra steps to install (npm)
-- go -- go
"gopls", -- "gopls", -- TODO: needs extra steps to install (go)
-- html -- html
"html", -- "html", -- TODO: needs extra steps to install (npm)
-- json -- json
"jsonls", -- "jsonls", -- TODO: needs extra steps to install (npm)
-- xml -- xml
"lemminx", "lemminx",
-- latex -- latex
@@ -47,17 +47,17 @@ return {
-- nim -- nim
-- "nimls", -- TODO: needs extra steps to install (nimble) -- "nimls", -- TODO: needs extra steps to install (nimble)
-- python -- python
"pyright", -- "pyright", -- TODO: needs extra steps to install (npm)
-- r -- r
-- "r_language_server", -- TODO: installation takes really long -- "r_language_server", -- TODO: installation takes really long
-- shell -- shell
"bashls", -- "bashls", -- TODO: needs extra steps to install (npm)
-- sql -- sql
"sqlls", -- "sqlls", -- TODO: needs extra steps to install (npm)
-- typescript / javascript -- typescript / javascript
"ts_ls", -- "ts_ls", -- TODO: needs extra steps to install (npm)
-- yaml -- yaml
"yamlls", -- "yamlls", -- TODO: needs extra steps to install (npm)
}, },
}) })
local default_flags = { local default_flags = {

View File

@@ -9,8 +9,9 @@ return {
-- 'p00f/nvim-ts-rainbow', -- 'p00f/nvim-ts-rainbow',
}, },
config = function() config = function()
require("nvim-treesitter.configs").setup({ local treesitter = require("nvim-treesitter")
ensure_installed = { treesitter.setup()
treesitter.install({
"bash", "bash",
"css", "css",
"html", "html",
@@ -21,16 +22,20 @@ return {
"rust", "rust",
"lua", "lua",
"yaml", "yaml",
},
-- highlight = { enable = true },
autotag = { enable = false },
-- rainbow = {
-- enable = true,
-- extended_mode = true,
-- max_file_lines = nil,
-- -- colors = {},
-- -- termcolors = {}
-- }
}) })
require("nvim-ts-autotag").setup({
opts = {
enable_close = true,
enable_rename = true,
}
})
-- WARN: not directly compatible anymore
-- highlight = { enable = true },
-- rainbow = {
-- enable = true,
-- extended_mode = true,
-- max_file_lines = nil,
-- -- colors = {},
-- -- termcolors = {}
end, end,
} }

View File

@@ -16,6 +16,9 @@ My debian-based/arch compatible server/root-account dotfiles.
- tree-sitter (recommended) - tree-sitter (recommended)
- neovim (>0.10.0) - neovim (>0.10.0)
Additionally npm, rust or nimble may be needed for some vim language server to work.
By default these have been disabled.
#### Debian-based Systems #### Debian-based Systems
- `apt install git tmux zsh` - `apt install git tmux zsh`