machine : arch linux
there is an error massage show when i open neovim from ast-grep lsp :
the error massage: LSP[ast_grep] Failed to load rules: Cannot read configuration.. No such file or directory (os error 2)
so what is meaning and how slove the problem in ast-grep lsp
Do you have a
sgconfig.y[a]mlin the project root directory?If you are using lspconfig to manage your language servers take a look here https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#ast_grep