From 036b87d978b78a09bcaa55c0a7287aace0d23389 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Mon, 22 Dec 2025 00:54:37 +0000 Subject: [PATCH] qol: make qmlls work with quickshell --- .gitignore | 1 + modules/nixvim/home.nix | 3 +++ modules/quickshell/quickshell/shell.qml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 49c32e1..c5a7c60 100755 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ nix/nixos.qcow2 nix_file.tar.gz nvim tmux/plugins +modules/quickshell/quickshell/.qmlls.ini diff --git a/modules/nixvim/home.nix b/modules/nixvim/home.nix index 98ac014..03f9232 100644 --- a/modules/nixvim/home.nix +++ b/modules/nixvim/home.nix @@ -43,6 +43,9 @@ in servers = { qmlls = { enable = true; + config = { + cmd = "-E"; + }; }; rust_analyzer = { enable = true; diff --git a/modules/quickshell/quickshell/shell.qml b/modules/quickshell/quickshell/shell.qml index 7914389..5ff864f 100755 --- a/modules/quickshell/quickshell/shell.qml +++ b/modules/quickshell/quickshell/shell.qml @@ -1,4 +1,4 @@ -//@ pragma UseQApplication +// @ pragma UseQApplication import Quickshell import QtQuick import "bar" as Bar