neovim: fix quoting, use vim.fn.stdpath to get

the neovim config directory path
This commit is contained in:
teutat3s 2022-08-02 15:32:24 +02:00
parent 5c57e0af8a
commit 1b2ede1e86
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -128,10 +128,10 @@ lua <<EOF
'solargraph', --------------------------- Ruby
'rust_analyzer', ------------------------ Rust
['sqlls'] = {
['cmd'] = {"$XDG_DATA_HOME/nvm/versions/node/v12.19.0/bin/sql-language-server", "up", "--method", "stdio"}
['cmd'] = {vim.fn.stdpath('data')..'/nvm/versions/node/v12.19.0/bin/sql-language-server', 'up', '--method', 'stdio'}
},
['terraformls'] = { --------------------- Terraform
['filetypes'] = { "terraform", "hcl", "tf" }
['filetypes'] = { 'terraform', 'hcl', 'tf' }
},
'tsserver', ----------------------------- Typescript / JavaScript
'vuels', -------------------------------- Vue