Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neovim: add treesitter and lsp config #3129

Merged
merged 4 commits into from
Aug 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
improve instructions
  • Loading branch information
maan2003 committed Aug 22, 2023
commit 0c68a937e39310a7554d65f4c8077563f9aeb2d2
7 changes: 4 additions & 3 deletions utils/nvim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Treesitter based syntax highlighting and language server client for Neovim.
This requires neovim >= 0.9 and
[nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) to be installed.

1. `./setup.sh`
2. Start nvim in carbon-lang root folder and open a carbon file.
3. View document symbols. If you have telescope.nvim installed, you can use
1. Run `bazel build language_server` in project root.
2. Run `utils/nvim/setup.sh`.
3. Start nvim in carbon-lang root folder and open a carbon file.
4. View document symbols. If you have telescope.nvim installed, you can use
`:Telescope lsp_document_symbols`
Loading