mirror of
https://github.com/neovim/nvim-lspconfig
synced 2024-09-16 14:24:07 +02:00
feat: ruby_lsp works inside eruby files (#3266)
Since 0.17.5, Ruby LSP has supported running inside ERB files.
This commit is contained in:
parent
ff97d376b1
commit
4cd29ab1b3
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ local util = require 'lspconfig.util'
|
|||
return {
|
||||
default_config = {
|
||||
cmd = { 'ruby-lsp' },
|
||||
filetypes = { 'ruby' },
|
||||
filetypes = { 'ruby', 'eruby' },
|
||||
root_dir = util.root_pattern('Gemfile', '.git'),
|
||||
init_options = {
|
||||
formatter = 'auto',
|
||||
|
|
Loading…
Reference in a new issue