From 0945a33498a6d4ddd8d39d5dff46a5c688b6e3f8 Mon Sep 17 00:00:00 2001 From: xiaoshihou Date: Thu, 13 Apr 2023 21:52:02 +0800 Subject: [PATCH] fix(typo): better docs --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c9124bc..1f66083 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ require('lazy').setup({ 'nvimdev/indentmini.nvim', event = 'BufEnter', config = function() - require('indentmini').setup({}) + require('indentmini').setup() end, -- this is no required but if you want indent blanklink line this is needed dependencies = { 'nvim-treesitter/nvim-treesitter'} @@ -24,8 +24,18 @@ require('lazy').setup({ highlight group is `IndentLine`. you can use this to link it to `Comment` -``` -vim.cmd('hi defaule link IndentLine Comment') +```lua +config = function() + require("indentmini").setup({ + char = "|", + exclude = { + "erlang", + "markdown", + } + }) + -- use comment color + vim.cmd.highlight("default link IndentLine Comment") +end, ``` ## License MIT