From cbc6aca611cdc664f9bfc3c0a9aa9f9912fa9720 Mon Sep 17 00:00:00 2001 From: Isabel Date: Fri, 19 Apr 2024 05:39:12 +0100 Subject: [PATCH] fix(docs): various rendering issues (#450) * fix(docs): go mock table * fix: important note --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 42ea5c5..2cc6b87 100644 --- a/README.md +++ b/README.md @@ -496,10 +496,12 @@ Notes: ## Go Mock -go mock with mockgen is supported | command | Description | | ---------------- | -------------------------------------------------------- | | GoMockGen | default: generate mocks for current file | -options: -s source mode(default) -i interface mode, provide interface name or put the cursor on interface -p package -name default: mocks -d destination directory, default: ./mocks +| command | Description | +| ---------------- | ------------------------------------------------------- | +| GoMockGen | default: generate mocks for current file | +| GoMockGen -s | source mode(default) | +| GoMockGen -i | interface mode, provide interface name or put the cursor on interface -p package | +| GoMockGen -d | destination directory, default: ./mocks | ## Comments and Doc @@ -1021,7 +1023,8 @@ issues, e.g. [navigator.lua](https://github.com/ray-x/navigator.lua), [Nvim-tree](https://github.com/kyazdani42/nvim-tree.lua) and [Bufferline](https://github.com/akinsho/nvim-bufferline.lua) also introduced lsp diagnostic hooks. -> [!IMPORTANT] I will integrate more gopls functions into go.nvim, please make sure you have the latest version +> [!IMPORTANT] +> I will integrate more gopls functions into go.nvim, please make sure you have the latest version > installed Also, enable gopls experimental features if it is configure somewhere other than go.nvim Otherwise, set > `lsp_cfg` to `true` in your go.nvim setup to enable gopls setup in go.nvim