From 6e9435bc75a3ef172eb9462887e5c999939d3ec8 Mon Sep 17 00:00:00 2001 From: Ben Kreeger Date: Fri, 26 Sep 2025 11:30:10 -0500 Subject: [PATCH] Update font in Ghostty, add YAML LSP settings to Neovim --- ghostty/config | 4 ++-- nvim/lsp/yamlls.lua | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 nvim/lsp/yamlls.lua diff --git a/ghostty/config b/ghostty/config index 9ad6b8d..a35bdc2 100644 --- a/ghostty/config +++ b/ghostty/config @@ -3,13 +3,13 @@ adjust-cell-height = 30% adjust-cell-width = -9% cursor-style = block cursor-style-blink = false -font-family = Inconsolata Patched G +font-family = Google Sans Code NF font-size = 12 font-synthetic-style = no-bold, no-bold-italic # Window style background-blur = true -background-opacity = 0.9 +background-opacity = 0.88 theme = dark:catppuccin-mocha.conf, light:catppuccin-latte.conf window-padding-color = extend window-padding-x = 5,0 diff --git a/nvim/lsp/yamlls.lua b/nvim/lsp/yamlls.lua new file mode 100644 index 0000000..50ccd34 --- /dev/null +++ b/nvim/lsp/yamlls.lua @@ -0,0 +1,25 @@ +return { + settings = { + yaml = { + schemaStore = { + enable = false, + url = "", + }, + schemas = require("schemastore").yaml.schemas({ + select = { + "Ansible Inventory", + "Ansible Rulebook", + "Ansible Collection Galaxy", + "Ansible Playbook", + "Ansible Tasks File", + "Ansible Requirements", + "Ansible Vars File", + "kustomization.yaml", + "docker-compose.yml", + "GitHub Workflow", + }, + }), + validate = { enable = true }, + }, + }, +}