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 0619a69f32
commit be0ae1a799
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -126,10 +126,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