Neovim
Neovim
Installation
- Binaries
 
Lua Config
Stuff
- daily notes
 
nvim "$(date "+%Y/%b/%d").md
Language Server Protocol (LSP)
Lua
- https://neovim.io/doc/user/lua-guide.html
 - https://learnxinyminutes.com/docs/lua/
 - lua
 - https://github.com/nvim-lua/kickstart.nvim
 
Plugins
Mason
Plugin zum verwalten von LSP Plugins
- 
:Mason - opens a graphical status window
 - 
:MasonUpdate - updates all managed registries
 - 
:MasonInstall
… - installs/re-installs the provided packages  - 
:MasonUninstall
… - uninstalls the provided packages  
DAP - Debug Adapter Protocol
DAP Setup:
- https://davelage.com/posts/nvim-dap-getting-started/
 - https://github.com/mfussenegger/nvim-dap
 - https://github.com/rcarriga/nvim-dap-ui
 - https://github.com/jay-babu/mason-nvim-dap.nvim
 - https://github.com/jay-babu/mason-nvim-dap.nvim/blob/main/lua/mason-nvim-dap/mappings/source.lua
 - Go: https://github.com/leoluz/nvim-dap-go
 
REPL
Open with :lua require'dap'.repl.open()
:h dap.repl.open()
.exit               Closes the REPL
.c or .continue     Same as |dap.continue|
.n or .next         Same as |dap.step_over|
.into               Same as |dap.step_into|
.into_target        Same as |dap.step_into{askForTargets=true}|
.out                Same as |dap.step_out|
.up                 Same as |dap.up|
.down               Same as |dap.down|
.goto               Same as |dap.goto_|
.scopes             Prints the variables in the current scopes
.threads            Prints all threads
.frames             Print the stack frames
.capabilities       Print the capabilities of the debug adapter
.b or .back         Same as |dap.step_back|
.rc or
.reverse-continue   Same as |dap.reverse_continue|
DAP-UI
require("dapui").open()
require("dapui").close()
require("dapui").toggle()