From d37741dd73c7ae3703587ac9318e9d0855553e95 Mon Sep 17 00:00:00 2001 From: Rosa Date: Sat, 10 Jan 2026 14:28:50 -0500 Subject: minor changes, prepping for a refactor --- user/kakoune/default.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'user/kakoune/default.nix') diff --git a/user/kakoune/default.nix b/user/kakoune/default.nix index 8ccad3e..2a76f7a 100644 --- a/user/kakoune/default.nix +++ b/user/kakoune/default.nix @@ -15,18 +15,28 @@ { commands = "lsp-enable-window"; name = "WinSetOption"; - option = "filetype=(javascript|kotlin|typescript|zig)"; + option = "filetype=(javascript|kotlin|qml|typescript|zig)"; } { commands = '' set-option buffer lsp_servers %{ [kotlin-language-server] - root_globs = ["build.gradle.kts"] + root_globs = ["build.gradle.kts"] } ''; name = "BufSetOption"; option = "filetype=kotlin"; } + { + commands = '' + set-option buffer lsp_servers %{ + [qmlls] + root_globs = ["shell.qml"] + } + ''; + name = "BufSetOption"; + option = "filetype=qml"; + } ]; keyMappings = [ @@ -57,4 +67,6 @@ kakoune-lsp ]; }; + + xdg.configFile."kak/qml.kak".source = ./qml.kak; } -- cgit v1.3.1