You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
navigator.lua/playground
Allen Horine d02d4c1c52
Fix: nil error processing treesitter query results, nil error when (#300)
viewing references (deprecated method), remaining vim.loop -> vim.uv
conversion
3 months ago
..
cpp issue #284 add sample config for cpp project (cmp and cpp sample files) 7 months ago
go lsp_signature setup was not documented in README. Add playground folder 2 years ago
js lsp_signature setup was not documented in README. Add playground folder 2 years ago
py drop neovim 0.5 deprecated API 2 years ago
rust diagnostic updates 8 months ago
README.md nerdfont 3.0 6 months ago
init.lua Fix: nil error processing treesitter query results, nil error when (#300) 3 months ago
init_lsp_installer.lua lsp installer update issue #181 2 years ago
init_lsp_installer_cmp.lua lsp installer update issue #181 2 years ago
init_packer.lua default the playground init.lua to lazy 9 months ago

README.md

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 are three folders js, go, py. Those folders have some basic source code you can play with. The init will install the plugins in /tmp/nvim folder. It will not affect your current setup.

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 if not existed in your PATH.

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
  • ...