Skip to content

Automatically detect and setup language servers available on your system.

License

Notifications You must be signed in to change notification settings

WieeRd/auto-lsp.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-LSP.nvim

Automatically detect and setup language servers available on your system.

  1. Have auto-lsp.nvim installed and setup.
  2. Have language servers installed.
  3. lspconfig[server].setup() is called automatically for each server.

As simple as that! Enjoy the fully automated integration with language servers.

Installation

{
  "WieeRd/auto-lsp.nvim",
  dependencies = { "neovim/nvim-lspconfig" },
  event = "VeryLazy",
  opts = {},
},
Plug 'neovim/nvim-lspconfig'
Plug 'WieeRd/auto-lsp.nvim'
lua require("auto-lsp").setup()

Configuration

If you read this, send a death threat to the author to get him working on the docs.

Commands

You can inspect and control some of the internals of the plugin using :AutoLsp.

:AutoLsp info

See the list of checked filetypes and servers.

:AutoLsp mappings

Open the generated server mappings file in a new window.

:AutoLsp build

Clear the cache and regenerate the server mappings.

:AutoLsp refresh

Each server is checked only once for its availability. This command will recheck unavailable servers to detect newly installed ones. FocusGained and TermLeave event will automatically trigger a refresh, so you don't normally need to run this manually.

About

Automatically detect and setup language servers available on your system.

Topics

Resources

License

Stars

Watchers

Forks

Languages