Skip to content

Commit d6ad842

Browse files
authored
[Documentation] Nvim lsp module name fix (#5)
* Nvim lsp module name fix The Nvim LSP module is called `nvim_lsp`, the previous `nvim-lsp` would result in many errors. * Update README.md
1 parent 9cf71e0 commit d6ad842

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ lua << END
168168
local lsp_status = require('lsp-status')
169169
lsp_status.register_progress()
170170
171-
local nvim_lsp = require('nvim-lsp')
171+
local nvim_lsp = require('nvim_lsp')
172172
173173
-- Some arbitrary servers
174174
nvim_lsp.clangd.setup({

doc/lsp-status.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ example:>
4242
local lsp_status = require('lsp-status')
4343
lsp_status.register_progress()
4444

45-
local nvim_lsp = require('nvim-lsp')
45+
local nvim_lsp = require('nvim_lsp')
4646

4747
-- Some arbitrary servers
4848
nvim_lsp.clangd.setup({

0 commit comments

Comments
 (0)