Skip to content

mihyaeru21/nvim-lspconfig-bundler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nvim-lspconfig-bundler

A nvim-lspconfig plugin for bundler. If you use bundler in your project, it will automatically give bundle exec to the command.

It may not work on Windows. I have not confirmed that it works.

Usage

Install with your favorite plugin manager. Here is an example using packer.

use { 'mihyaeru21/nvim-lspconfig-bundler', requires = 'neovim/nvim-lspconfig' }

Call require('lspconfig-bundler').setup() before setup each servers. No modification of cmd is required.

require('lspconfig-bundler').setup()
local lspconfig = require('lspconfig')
lspconfig.ruby_lsp.setup()

only_bundler

Setting this option to true will enable only the language server for the gem installed in the project.

require('lspconfig-bundler').setup {
    only_bundler = true,
}

About

nvim-lspconfig plugin for bundler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages