Skip to main content

4-dev.lua

Plugins you actively use for coding.

List of plugins

luasnip

The snippet engine we use.

luasnip screenshot

friendly-snippets

Collection of snippets we pass to luasnip.

gitsigns

Display git hunks on modified uncommited lines.

gitsigns screenshot

fugitive

Git commands for Neovim and mergetool support.

Hint: Check the plugin config to learn how to enable git mergetool.

fugitive screenshot

aerial

Symbols tree to quickly analize the code structure of your file. By default we only display functions.

aerial screenshot

litee-calltree

Calltree viewer to inspect the call order of functions without the need to use the debugger or execute the program.

  • Press g + j to open the call tree.
  • Press q to close it.

litee-calltree screenshot

dooku

HTML documentation generator.

  • Press <Space> + D + d three times to automatically setup, generate, and open your project documentation, respectively.

dooku screenshot

markdown-preview

Preview markdown as HTML in your internet browser.

  • Press <Space> + D + p to preview your markdown file.

markdown-preview screenshot

markmap

Preview markdown as HTML mental map in your internet browser.

markmap screenshot

neural

ChatGPT code generator.

  • Press <Space> + a to Ask ChatGPT.

neural screenshot

Hint: To use neural, you must first set this next env var on your operative system.

OPENAI_API_KEY="my_key_here"

You can find your API key in chatgpt's website.

copilot

GitHub Copilot integration.

Hint: This is an alternative we offer to the plugin neural. This feature is disabled by default. To enable it, uncomment the plugin in plugins/4-dev.lua and follow the instructions in the comments.

guess-indent

Automatically guesses and sets the correct indent level for files.

compiler

Compiler integration.

  • Press F6 to open the compiler.
  • Press Shift + F6 to redo the last selected action.

compiler.nvim screenshot

overseer

The task runner compiler.nvim uses.

nvim-dap

A debugger for Neovim.

Hint: In some languages you might have to run the program before you are able to debug it.

nvim-dap screenshot

neotest

Unit testing for Neovim.

  • Press <Space> + T + u to run the unit test under the cursor.
  • Press <Space> + T + t to open the right neotest summary.
  • Press <Space> + T + T to open the bottom resume output.

neotest screenshot

nvim-coverage

A code coverage plugin.

  • Press <Space> + T + c to open the code coverage resume.
  • Press q to close it.
  • You can also press <Space> + T + C if you want to display the lines without coverage in the current file.

nvim-coverage screenshot

guttentags-plus

Necessary to enable g + d (go to definition) on all symbols of C/C++.