Skip to content

Commit

Permalink
feat: ruby_lsp works inside eruby files (neovim#3266)
Browse files Browse the repository at this point in the history
Since 0.17.5, Ruby LSP has supported running inside ERB files.
  • Loading branch information
adam12 authored Aug 13, 2024
1 parent ff97d37 commit 4cd29ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspconfig/server_configurations/ruby_lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 4cd29ab

Please sign in to comment.