Add yaml-language-server install and enable transparency if not ssh

session
This commit is contained in:
Fábio André Damas 2025-08-04 15:17:39 +01:00
parent cced76bffd
commit a7f35d5447
3 changed files with 14 additions and 12 deletions

View file

@ -80,7 +80,7 @@ return {
"pyright", "emmet-language-server", "tailwindcss-language-server",
"eslint-lsp", "lemminx", "gopls", "prettierd", "dotenv-linter",
"editorconfig-checker", "rust-analyzer", "taplo", "kulala-fmt",
"json-lsp", "harper-ls", "proselint", "alex"
"json-lsp", "harper-ls", "proselint", "alex", "yaml-language-server"
}
},
config = function(_, opts)

View file

@ -1,3 +1,5 @@
local is_ssh_session = (os.getenv("SSH_CONNECTION") or os.getenv("SSH_CLIENT") or os.getenv("SSH_TTY"))
return {
"folke/tokyonight.nvim",
lazy = false,
@ -5,7 +7,7 @@ return {
init = function()
require("tokyonight").setup({
transparent = true,
transparent = not is_ssh_session,
dim_inactive = true,
on_highlights = function(highlights)
-- Make delete sections in diff look better