Features:
To install:
npm install -g basics-language-server
The server is available in nvim-lspconfig. Start the server with
require('lspconfig').basics_ls.setup({})
require('lspconfig').basics_ls.setup({
settings = {
buffer = {
enable = true,
minCompletionLength = 4 -- only provide completions for words longer than 4 characters
matchStrategy = 'exact', -- or 'fuzzy'
},
path = {
enable = true,
},
snippet = {
enable = false,
sources = {} -- paths to package containing snippets, see examples below
matchStrategy = 'exact', -- or 'fuzzy'
},
}
})
snippet.sources can be a string or a list of strings. The strings should be absolute paths (or globs that resolve to paths) to one of either:
'/home/user/snippets' which contains python.jsonpackage.json that defines per language snippets in a VS Code extension API format.package.json that defines per language snippets in a VS Code extension API format.'/home/user/snippets/python.json'. See VS Code example for format43 commits
TypeScript
98.7%
JavaScript
1.3%
Features:
To install:
npm install -g basics-language-server
The server is available in nvim-lspconfig. Start the server with
require('lspconfig').basics_ls.setup({})
require('lspconfig').basics_ls.setup({
settings = {
buffer = {
enable = true,
minCompletionLength = 4 -- only provide completions for words longer than 4 characters
matchStrategy = 'exact', -- or 'fuzzy'
},
path = {
enable = true,
},
snippet = {
enable = false,
sources = {} -- paths to package containing snippets, see examples below
matchStrategy = 'exact', -- or 'fuzzy'
},
}
})
snippet.sources can be a string or a list of strings. The strings should be absolute paths (or globs that resolve to paths) to one of either:
'/home/user/snippets' which contains python.jsonpackage.json that defines per language snippets in a VS Code extension API format.package.json that defines per language snippets in a VS Code extension API format.'/home/user/snippets/python.json'. See VS Code example for format43 commits
TypeScript
98.7%
JavaScript
1.3%