diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/configs/turbo_ls.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lua/lspconfig/configs/turbo_ls.lua b/lua/lspconfig/configs/turbo_ls.lua new file mode 100644 index 00000000..031f3c7b --- /dev/null +++ b/lua/lspconfig/configs/turbo_ls.lua @@ -0,0 +1,24 @@ +return { + default_config = { + cmd = { 'turbo-language-server', '--stdio' }, + filetypes = { 'html', 'ruby', 'eruby', 'blade', 'php' }, + root_dir = vim.fs.root(0, { 'Gemfile', '.git' }), + }, + docs = { + description = [[ +https://www.npmjs.com/package/turbo-language-server + +`turbo-language-server` can be installed via `npm`: + +```sh +npm install -g turbo-language-server +``` + +or via `yarn`: + +```sh +yarn global add turbo-language-server +``` +]], + }, +} |
