1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
local util = require 'lspconfig.util' return { default_config = { cmd = { 'qml-lsp' }, filetypes = { 'qmljs' }, root_dir = util.root_pattern '*.qml', }, docs = { description = [[ https://invent.kde.org/sdk/qml-lsp LSP implementation for QML (autocompletion, live linting, etc. in editors) ]], }, }