This commit is contained in:
jimrothstein 2023-10-23 00:10:34 -07:00
parent 90ce168bf9
commit 8c157c72b0
1 changed files with 3 additions and 0 deletions

View File

@ -295,6 +295,9 @@ vim.cmd([[let g:LanguageClient_serverCommands = {
3) no errors, Lsp works for *.R !
BUT, can not get r language server to fire up with *.qmd
Add to bottom of *.qmd, *.R file:
# /* vim: set filetype=r : */
--nope \ 'qmd': ['R', '--slave', '-e', 'languageserver::run()'],
-- compare to lua version: https://github.com/neovim/nvim-lspconfig/blob/1028360e0f2f724d93e876df3d22f63c1acd6ff9/lua/lspconfig/server_configurations/r_language_server.lua#L8
--]]