You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: gopls/doc/codelenses.md
+1
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ Client support:
18
18
-**VS Code**: Code Lenses appear as small text links above a line of source code.
19
19
-**Emacs + eglot**: Not supported, but prototype exists at https://github.com/joaotavora/eglot/pull/71.
20
20
-**Vim + coc.nvim**: ??
21
+
-**Neovim**: Run `vim.lsp.codelens.refresh({ bufnr = 0 })` to refresh code lenses for current buffer. Run `vim.lsp.codelens.run()` to pick a lens. See `:h vim.lsp.codelens` for more details.
21
22
-**CLI**: `gopls codelens`. For example, `gopls codelens -exec file.go:123 "run test"` runs the test at the specified line.
0 commit comments