1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//! `nautilus-lsp` — LSP server for `.nautilus` schema files.
//!
//! Communicates over stdin/stdout using the Language Server Protocol.
//! Run the binary and configure your editor to launch it as a language server
//! for files matching `*.nautilus`.
//!
//! # Quick start (Neovim — nvim-lspconfig)
//!
//! ```lua
//! require('lspconfig.configs').nautilus_lsp = {
//! default_config = {
//! cmd = { 'nautilus-lsp' },
//! filetypes = { 'nautilus' },
//! root_dir = require('lspconfig.util').root_pattern('schema.nautilus', '.git'),
//! },
//! }
//! require('lspconfig').nautilus_lsp.setup {}
//! ```
//!
//! # Quick start (Helix — languages.toml)
//!
//! ```toml
//! [[language]]
//! name = "nautilus"
//! language-servers = ["nautilus-lsp"]
//!
//! [language-server.nautilus-lsp]
//! command = "nautilus-lsp"
//! ```
use Backend;
use DashMap;
use ;
async