Skip to content

Commit

Permalink
docs: update FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
adoyle-h committed Jun 10, 2023
1 parent e9440d7 commit c141839
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
19 changes: 19 additions & 0 deletions doc/faq/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# FAQ

- [Installation Failures](./install-failed.md)

Always run `:checkhealth` to check problems.

## Syntax parsed errors, highlights errors, indent errors

These features are based on treesitter.

When you first install, check treesitter parsers installed via `:TSIntall`.

When you updated neovim or treesitter, run `:TSUpdate` to update all installed treesitter parsers to latest.

See [doc/treesitter.md](../treesitter.md) for details.

## Client quit with exit code and signal

If you see the notify message `Client <number> quit with exit code <number> and signal <number>`.

Open `:LspInfo` window to check the LSP clients. There may be some clients which no buffer attached.
Open `:Mason` window to reinstall or update the LSP client.
2 changes: 2 additions & 0 deletions doc/faq/install-failed.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[English](./install-failed.md) | [中文](./install-failed.zh.md)

Always run `:checkhealth` to check problems.

## ERROR [mason-tool-installer] luaformatter: failed to install

If you are using MacOS, try to install luarocks by `brew install luarocks`, or upgrade it.
Expand Down
2 changes: 2 additions & 0 deletions doc/faq/install-failed.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[English](./install-failed.md) | [中文](./install-failed.zh.md)

总是运行 `:checkhealth` 来检查问题。

## ERROR [mason-tool-installer] luaformatter: failed to install

如果你使用 MacOS,用 `brew install luarocks` 来安装 luarocks,或者把它升级到最新版本。
Expand Down

0 comments on commit c141839

Please sign in to comment.