diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-02-17 08:13:19 -0800 |
|---|---|---|
| committer | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-02-17 08:13:19 -0800 |
| commit | b45e230e9abc878e53fe57db7d7e2a4707643f83 (patch) | |
| tree | fcd6543af7b84e895d63f61c3e2074fd99beb99a /lua/lspconfig/configs.lua | |
| parent | Add option to disable autostart (diff) | |
| download | nvim-lspconfig-b45e230e9abc878e53fe57db7d7e2a4707643f83.tar nvim-lspconfig-b45e230e9abc878e53fe57db7d7e2a4707643f83.tar.gz nvim-lspconfig-b45e230e9abc878e53fe57db7d7e2a4707643f83.tar.bz2 nvim-lspconfig-b45e230e9abc878e53fe57db7d7e2a4707643f83.tar.lz nvim-lspconfig-b45e230e9abc878e53fe57db7d7e2a4707643f83.tar.xz nvim-lspconfig-b45e230e9abc878e53fe57db7d7e2a4707643f83.tar.zst nvim-lspconfig-b45e230e9abc878e53fe57db7d7e2a4707643f83.zip | |
rename launch -> autostart, add documentation
Diffstat (limited to 'lua/lspconfig/configs.lua')
| -rw-r--r-- | lua/lspconfig/configs.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/configs.lua b/lua/lspconfig/configs.lua index e0e07975..343ed7a5 100644 --- a/lua/lspconfig/configs.lua +++ b/lua/lspconfig/configs.lua @@ -65,7 +65,7 @@ function configs.__newindex(t, config_name, config_def) local get_root_dir = config.root_dir - function M.launch() + function M.autostart() local root_dir = get_root_dir(api.nvim_buf_get_name(0), api.nvim_get_current_buf()) api.nvim_command(string.format( "autocmd %s lua require'lspconfig'[%q].manager.try_add_wrapper()" |
