From fc011749f1327d7efcce3f34fa14afc0476e834f Mon Sep 17 00:00:00 2001 From: Vidocq Date: Fri, 27 Oct 2023 04:29:04 +0800 Subject: [PATCH] fix: Delete doc/my-template-docs.txt --- doc/my-template-docs.txt | 68 ---------------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 doc/my-template-docs.txt diff --git a/doc/my-template-docs.txt b/doc/my-template-docs.txt deleted file mode 100644 index 141a799..0000000 --- a/doc/my-template-docs.txt +++ /dev/null @@ -1,68 +0,0 @@ -*my-template-docs.txt* For Neovim >= 0.8.0 Last change: 2023 October 26 - -============================================================================== -Table of Contents *my-template-docs-table-of-contents* - -1. AutoIndent.nvim |my-template-docs-autoindent.nvim| - - Installation |my-template-docs-autoindent.nvim-installation| - - Configuration |my-template-docs-autoindent.nvim-configuration| - -============================================================================== -1. AutoIndent.nvim *my-template-docs-autoindent.nvim* - -A simple util providing auto indent like VSCode when cursor at the first column -and press key - - -https://github.com/VidocqH/auto-indent.nvim/assets/16725418/b0eda63f-9b7d-4708-8477-00bde49d8f40 - - -INSTALLATION *my-template-docs-autoindent.nvim-installation* - - -LAZY ~ - ->lua - requir("lazy").setup({ - { - 'vidocqh/auto-indent.nvim', - opts = {}, - }, - }) -< - - -CONFIGURATION *my-template-docs-autoindent.nvim-configuration* - - -DEFAULT CONFIG ~ - ->lua - require("auto-indent").setup({ - lightmode = true, -- Lightmode assumes tabstop and indentexpr not change within buffer's lifetime - indentexpr = nil, -- Use vim.bo.indentexpr by default, see 'Custom Indent Evaluate Method' - ignore_filetype = {}, -- Disable plugin for specific filetypes, e.g. ignore_filetype = { 'javascript' } - }) -< - - -CUSTOM INDENT EVALUATE METHOD ~ - -`indentexpr` should be a function returns a number of indents - -example using treesitter.indent - module - ->lua - { - ---@param lnum: number - ---@return number - indentexpr = function(lnum) - return require("nvim-treesitter.indent").get_indent(lnum) - end - } -< - -Generated by panvimdoc - -vim:tw=78:ts=8:noet:ft=help:norl: