mihyaeru21 / nvim-lspconfig-bundler

nvim-lspconfig plugin for bundler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

local lspconfig = require('lspconfig')

require('lspconfig-bundler').setup()

lspconfig.ruby_ls.setup {
  ...
}

About

nvim-lspconfig plugin for bundler

License:MIT License


Languages

Language:Lua 100.0%