New indentation

This commit is contained in:
Yann 2024-11-26 16:41:06 +01:00
parent d7f5bb5174
commit d4f1afb711

View File

@ -32,7 +32,7 @@ require('packer').startup(function(use)
-- 'rcarriga/nvim-notify' -- laisser fidget s'en occuper
}
} -- replaces the UI for messages, cmdline and the popupmenu.
use 'yggdroot/indentline' -- Display vertical lines at each indentation
-- use 'yggdroot/indentline' -- Display vertical lines at each indentation
-- use 'junegunn/goyo.vim' -- Distraction-free writing in Vim
-- use 'xiyaowong/nvim-transparent'
@ -149,10 +149,12 @@ vim.g.mapleader = ' '
vim.opt.relativenumber = true -- show relative numbers in gutter
vim.opt.number = true -- affiche le numéro absolu de la ligne active lorsque que relativenumber est activé
vim.opt.tabstop = 2 -- spaces per tab
vim.opt.shiftwidth = 2 -- spaces per tab
vim.opt.expandtab = true -- always use spaces instead of tabs
vim.opt.smartindent = true
vim.opt.tabstop = 8 -- nombre d'espaces pour une tabulation
vim.opt.shiftwidth = 8 -- nombre d'espaces utilisé par l'indentation
vim.opt.expandtab = true -- remplace les tabulations par des espaces
vim.opt.smartindent = true -- indentation automatique à la création d'une nouvelle ligne
vim.opt.smarttab = true -- sur un backspace, supprime l'équivalent d'une tabulation plutôt qu'un espace
vim.opt.colorcolumn = "80,100"
vim.opt.ignorecase = true -- Ignore la casse lors d'une recherche
vim.opt.smartcase = true -- Sauf si une recherche contient une majuscule
@ -406,7 +408,7 @@ require'nvim-treesitter.configs'.setup {
additional_vim_regex_highlighting = { "markdown" },
},
indent = {
enable = true,
enable = false,
},
autotag = {
enable = true,