diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-04-21 21:57:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-21 21:57:20 -0700 |
| commit | 6bc13672db464b0f810b7e03446c55bd64c2ee52 (patch) | |
| tree | 857346b341e3ea228e326f129bc411b76ceb2cbf /lua | |
| parent | [docgen] Update CONFIG.md (diff) | |
| parent | Lazily require lspinfo to save on start-up time (diff) | |
| download | nvim-lspconfig-6bc13672db464b0f810b7e03446c55bd64c2ee52.tar nvim-lspconfig-6bc13672db464b0f810b7e03446c55bd64c2ee52.tar.gz nvim-lspconfig-6bc13672db464b0f810b7e03446c55bd64c2ee52.tar.bz2 nvim-lspconfig-6bc13672db464b0f810b7e03446c55bd64c2ee52.tar.lz nvim-lspconfig-6bc13672db464b0f810b7e03446c55bd64c2ee52.tar.xz nvim-lspconfig-6bc13672db464b0f810b7e03446c55bd64c2ee52.tar.zst nvim-lspconfig-6bc13672db464b0f810b7e03446c55bd64c2ee52.zip | |
Merge pull request #859 from mjlbach/lazy_require_lspinfo
Lazily require lspinfo to save on start-up time
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/lspconfig.lua b/lua/lspconfig.lua index a901a1a2..7a6fb080 100644 --- a/lua/lspconfig.lua +++ b/lua/lspconfig.lua @@ -1,5 +1,4 @@ local configs = require 'lspconfig/configs' -local lspinfo = require 'lspconfig/lspinfo' local M = { util = require 'lspconfig/util'; @@ -17,7 +16,7 @@ function M._root._setup() M._root.commands = { LspInfo = { function() - lspinfo() + require('lspconfig/lspinfo')() end; "-nargs=0"; description = '`:LspInfo` Displays attached, active, and configured language servers'; |
