From ae5fcea58eec8ce4593b38da4c97c0476d33cc68 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Thu, 24 Apr 2025 16:15:05 -0400 Subject: [PATCH] AutoYADM commit: 2025-04-24 16:15:05 --- .config/bat/config | 4 ++-- .config/helix/languages.toml | 11 +---------- .config/helix/scripts/fish-lsp.fish | 4 ++++ 3 files changed, 7 insertions(+), 12 deletions(-) create mode 100755 .config/helix/scripts/fish-lsp.fish diff --git a/.config/bat/config b/.config/bat/config index ebaa79bd..576bf547 100644 --- a/.config/bat/config +++ b/.config/bat/config @@ -8,8 +8,8 @@ # Enable this to use italic text on the terminal. This is not supported on all # terminal emulators (like tmux, by default): -#--italic-text=always - +--italic-text=always +--style=plain # Uncomment the following line to disable automatic paging: #--paging=never diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 0b968864..b058a889 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -319,16 +319,7 @@ auto-format = true formatter = { command = "yamlfmt", args = ['-'] } [language-server.fish-lsp] -command = "fish-lsp" -args = [ - "start", - "--disable", - "diagnostic", - "highlight", - "folding", - "formatting", -] -environment = { fish_lsp_show_client_popups = "false" } +command = "/home/fic/.config/helix/scripts/fish-lsp.fish" [[language]] name = "fish" diff --git a/.config/helix/scripts/fish-lsp.fish b/.config/helix/scripts/fish-lsp.fish new file mode 100755 index 00000000..0f29bc65 --- /dev/null +++ b/.config/helix/scripts/fish-lsp.fish @@ -0,0 +1,4 @@ +#!/usr/bin/env fish +set -lx fish_lsp_diagnostic_disable_error_codes 1001 1004 2001 2002 4004 +set -lx fish_lsp_show_client_popups false +fish-lsp start