navigator.lua/playground
2022-01-13 15:00:54 +11:00
..
go lsp_signature setup was not documented in README. Add playground folder 2022-01-09 22:31:43 +11:00
js lsp_signature setup was not documented in README. Add playground folder 2022-01-09 22:31:43 +11:00
py lsp_signature setup was not documented in README. Add playground folder 2022-01-09 22:31:43 +11:00
init.lua Update README.md in playground 2022-01-13 15:00:54 +11:00
README.md Update README.md in playground 2022-01-13 15:00:54 +11:00

Sandbox/Tutorial

introduction

The folder contains init.lua, whitch is a minium vimrc to setup following plugins. Those plugin are some of the most used plugins for programmer.

  • lspconfig
  • treesitter
  • navigator
  • nvim-cmp
  • luasnip
  • aurora (colorscheme used in the screenshot)

There also three folder js, go, py. Those folder have some basic source code you can play with.

Install LSP

The playground has js, py, go folder, so you can install either one your self in your PATH. If you want to try lua, Please check sumneko setup in init.lua make sure it pointed to correct path. By default it potint to ~/github/sumneko

run init.lua

cd py
neovim -u init.lua

Move your cursor around and try to

  • Edit the code
  • Check symbol reference with <esc>gr
  • Check document symbol with <esc>g0
  • treesitter symbole <esc>gT
  • peek definition <esc>gp
  • ...