aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/qmlls.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lsp/qmlls.lua')
-rw-r--r--.config/nvim/lsp/qmlls.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/lsp/qmlls.lua b/.config/nvim/lsp/qmlls.lua
new file mode 100644
index 0000000..ef5d5c1
--- /dev/null
+++ b/.config/nvim/lsp/qmlls.lua
@@ -0,0 +1,14 @@
+---@brief
+---
+--- https://doc.qt.io/qt-6/qtqml-tooling-qmlls.html
+---
+--- > QML Language Server is a tool shipped with Qt that helps you write code in your favorite (LSP-supporting) editor.
+---
+--- Source in the [QtDeclarative repository](https://code.qt.io/cgit/qt/qtdeclarative.git/)
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'qmlls' },
+ filetypes = { 'qml', 'qmljs' },
+ root_markers = { '.git' },
+}