nvim : use intend detection.

This commit is contained in:
Dmitry Voronin 2023-12-05 21:47:36 +03:00
parent fe421809ee
commit f62d9e41a5
2 changed files with 82 additions and 71 deletions

View file

@ -1 +1,12 @@
require("ibl").setup() require('indent-o-matic').setup {
-- The values indicated here are the defaults
-- Number of lines without indentation before giving up (use -1 for infinite)
max_lines = 1024,
-- Space indentations that should be detected
standard_widths = { 2, 4, 8 },
-- Skip multi-line comments and strings (more accurate detection but less performant)
skip_multiline = true,
}

View file

@ -48,7 +48,7 @@ return require("packer").startup(function(use)
use "https://git.voronind.com/mirror/todo-comments.nvim.git" use "https://git.voronind.com/mirror/todo-comments.nvim.git"
use "https://git.voronind.com/mirror/align.nvim.git" use "https://git.voronind.com/mirror/align.nvim.git"
use "https://git.voronind.com/mirror/gruvbox-material.git" use "https://git.voronind.com/mirror/gruvbox-material.git"
use "https://git.voronind.com/mirror/indent-blankline.nvim.git" use "https://git.voronind.com/mirror/indent-o-matic.git"
-- Automatically set up your configuration after cloning packer.nvim -- Automatically set up your configuration after cloning packer.nvim
-- Put this at the end after all plugins -- Put this at the end after all plugins