summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/qmlls.lua
blob: b0451594e8d5f5cf962a7cb4b0c0e69f5746f72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local util = require 'lspconfig.util'

return {
  default_config = {
    cmd = { 'qmlls' },
    filetypes = { 'qml', 'qmljs' },
    root_dir = function(fname)
      return util.find_git_ancestor(fname)
    end,
    single_file_support = true,
  },
  docs = {
    description = [[
https://github.com/qt/qtdeclarative

LSP implementation for QML (autocompletion, live linting, etc. in editors),
        ]],
  },
}