Skip to content

Latest commit

 

History

History
148 lines (101 loc) · 5.14 KB

File metadata and controls

148 lines (101 loc) · 5.14 KB
sidebar_position 4
description Description of Normalnvim plugins related to dev.

4-dev.lua

Plugins you actively use for coding.

List of plugins

The snippet engine we use.

luasnip screenshot

Collection of snippets we pass to luasnip.

Display git hunks on modified uncommited lines.

gitsigns screenshot

Git commands for Neovim and mergetool support.

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

fugitive screenshot

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

aerial screenshot

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

HTML documentation generator.

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

dooku screenshot

Preview markdown as HTML in your internet browser.

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

markdown-preview screenshot

Preview markdown as HTML mental map in your internet browser.

markmap screenshot

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.

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.

Automatically guesses and sets the correct indent level for files.

Compiler integration.

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

compiler.nvim screenshot

The task runner compiler.nvim uses.

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

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

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

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