Summary
The current Neovim setup instructions in the README are a bare nvim-lspconfig Lua snippet. They should be expanded to give users a smoother setup experience.
Current State
A single Lua config block with a hardcoded path (/Users/you/code/grayls/out/server.js) and no surrounding context.
Suggested Improvements
- Prerequisites (Node.js, building the server with
npm run build)
- Step-by-step setup for
nvim-lspconfig users
- Filetype detection for
.gray files (vim.filetype.add)
- Syntax highlighting options (Tree-sitter grammar at
grayscale-lang/tree-sitter-gray)
- Troubleshooting (verifying the server starts, checking
:LspLog)
Summary
The current Neovim setup instructions in the README are a bare
nvim-lspconfigLua snippet. They should be expanded to give users a smoother setup experience.Current State
A single Lua config block with a hardcoded path (
/Users/you/code/grayls/out/server.js) and no surrounding context.Suggested Improvements
npm run build)nvim-lspconfigusers.grayfiles (vim.filetype.add)grayscale-lang/tree-sitter-gray):LspLog)