Skip to content

phenax/nvim-extra-codelens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nvim-extra-codelens [WIP]

Neovim plugin to show type information as virtual text for LSP's that don't support codelens

Currently supports the following languages:

  • typescript
  • lua

Install

For packer users -

  use 'phenax/nvim-extra-codelens'

Attach

require'extra-codelens'.on_attach(client, bufnr)

function on_attach(client, bufnr)
  -- ...
  require'extra-codelens'.on_attach(client, bufnr)
end

require'nvim_lsp'.tsserver.setup { on_attach = on_attach }

Run on a single buffer

-- to run on the current buffer
require'extra-codelens'.run_on_buffer()

-- to run in a different buffer
require'extra-codelens'.run_on_buffer(bufnr)

About

Neovim plugin to show type information as virtual text for LSP's that don't support codelens

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages