/
alkis
/
nvim
Обзор
Документация
Войти
/
alkis
/
nvim
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lua/plugins/auto-indent.lua
28 строк
942 B
avkis
ftdetect folder added.
12 апр 2025, 23:29
12 апр 2025, 23:29
8c8bfe5
Код
Авторство
О чём код?
return { "nmac427/guess-indent.nvim", config = function() require("guess-indent").setup({ auto_cmd = true, -- Set to false to disable automatic execution override_editorconfig = true, -- Set to true to override settings set by .editorconfig filetype_exclude = { -- A list of filetypes for which the auto command gets disabled "netrw", "tutor", }, buftype_exclude = { -- A list of buffer types for which the auto command gets disabled "help", "nofile", "terminal", "prompt", }, on_tab_options = { -- A table of vim options when tabs are detected ["expandtab"] = false, }, on_space_options = { -- A table of vim options when spaces are detected ["expandtab"] = true, ["tabstop"] = "detected", -- If the option value is 'detected', The value is set to the automatically detected indent size. ["softtabstop"] = "detected", ["shiftwidth"] = "detected", }, }) end, }