From e1a58083b4f920ca022827b501b5e915928786ff Mon Sep 17 00:00:00 2001 From: Vidocq Date: Mon, 30 Oct 2023 02:54:58 +0800 Subject: [PATCH] fix: docs action wrong name --- .github/workflows/docs.yml | 2 +- doc/data-viewer-docs.txt | 118 ------------------------------------- 2 files changed, 1 insertion(+), 119 deletions(-) delete mode 100644 doc/data-viewer-docs.txt diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5f9cfe0..5e83414 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,7 +12,7 @@ jobs: - name: panvimdoc uses: kdheepak/panvimdoc@main with: - vimdoc: data-viewer-docs + vimdoc: lsp-lens-docs version: "Neovim >= 0.8.0" demojify: true treesitter: true diff --git a/doc/data-viewer-docs.txt b/doc/data-viewer-docs.txt deleted file mode 100644 index c65514e..0000000 --- a/doc/data-viewer-docs.txt +++ /dev/null @@ -1,118 +0,0 @@ -*data-viewer-docs.txt* For Neovim >= 0.8.0 Last change: 2023 October 22 - -============================================================================== -Table of Contents *data-viewer-docs-table-of-contents* - -1. lsp-lens.nvim |data-viewer-docs-lsp-lens.nvim| - - Installation |data-viewer-docs-lsp-lens.nvim-installation| - - Configs |data-viewer-docs-lsp-lens.nvim-configs| - - Commands |data-viewer-docs-lsp-lens.nvim-commands| - - Highlight |data-viewer-docs-lsp-lens.nvim-highlight| - - Known Bug |data-viewer-docs-lsp-lens.nvim-known-bug| - - Thanks |data-viewer-docs-lsp-lens.nvim-thanks| - -============================================================================== -1. lsp-lens.nvim *data-viewer-docs-lsp-lens.nvim* - -Neovim plugin for displaying reference and definition info upon functions like -JB’s IDEA. - - - - -INSTALLATION *data-viewer-docs-lsp-lens.nvim-installation* - - -PREREQUISITE ~ - -neovim >= 0.8 - -lsp server correctly setup - - -LAZY ~ - ->lua - require("lazy").setup({ - 'VidocqH/lsp-lens.nvim' - }) -< - - -USAGE ~ - ->lua - require'lsp-lens'.setup({}) -< - - -CONFIGS *data-viewer-docs-lsp-lens.nvim-configs* - -Below is the default config - ->lua - require'lsp-lens'.setup({ - enable = true, - include_declaration = false, -- Reference include declaration - sections = { -- Enable / Disable specific request, formatter example looks 'Format Requests' - definition = false, - references = true, - implements = true, - }, - ignore_filetype = { - "prisma", - }, - }) -< - - -FORMAT REQUESTS ~ - ->lua - require'lsp-lens'.setup({ - sections = { - definition = function(count) - return "Definitions: " .. count - end, - references = function(count) - return "References: " .. count - end, - implements = function(count) - return "Implements: " .. count - end, - } - }) -< - - -COMMANDS *data-viewer-docs-lsp-lens.nvim-commands* - -> - :LspLensOn - :LspLensOff - :LspLensToggle -< - - -HIGHLIGHT *data-viewer-docs-lsp-lens.nvim-highlight* - ->lua - { - LspLens = { link = "Comment" }, - } -< - - -KNOWN BUG *data-viewer-docs-lsp-lens.nvim-known-bug* - -- Due to a known issue with the neovim `nvim_buf_set_extmark()` api, the function and method defined on the first line of the code may cause the len to display at the -1 index line, which is not visible. - - -THANKS *data-viewer-docs-lsp-lens.nvim-thanks* - -lspsaga by glepnir - - -Generated by panvimdoc - -vim:tw=78:ts=8:noet:ft=help:norl: