feat: vi remove indent_blankline, simplify header

This commit is contained in:
AngeD 2023-01-20 23:54:57 +01:00
parent b46fa62542
commit a39ed237a2
10 changed files with 8 additions and 25 deletions

View File

@ -15,21 +15,13 @@ function! EpitechHeader()
let mid = com_arr[&filetype]['mid']
let bot = com_arr[&filetype]['bot']
let dir_name = fnamemodify(getcwd(), ':t')
let proj_name = input('Enter project name (default ' . dir_name . '): ')
let file_name = expand('%:t:r')
let file_desc = input('Enter file description (default ' . file_name . '): ')
if file_desc == ''
let file_desc = file_name
endif
if proj_name == ''
let proj_name = dir_name
endif
call append(0, top)
call append(1, mid . ' EPITECH PROJECT, ' . strftime('%Y'))
call append(2, mid . ' ' . proj_name)
call append(2, mid . ' ' . dir_name)
call append(3, mid . ' File description:')
call append(4, mid . ' ' . file_desc)
call append(4, mid . ' ' . file_name)
call append(5, bot)
endfunction

View File

@ -10,6 +10,7 @@ vim.o.shiftwidth = 4
vim.o.tabstop = 4
vim.o.list = true
vim.o.listchars = "tab:> ,trail:-,nbsp:+,leadmultispace:│ "
vim.o.number = true
vim.o.relativenumber = true
@ -50,7 +51,6 @@ require"theme"
require"pack-dirdiff"
require"pack-easy-align"
require"pack-grammalecte"
require"pack-indent-blankline"
require"pack-lspconfig"
require"pack-telescope"
require"pack-treesitter"

View File

@ -1,5 +0,0 @@
vim.cmd("packadd indent-blankline")
require"indent_blankline".setup {
show_current_context = true,
show_current_context_start = true,
}

@ -1 +0,0 @@
Subproject commit c4c203c3e8a595bc333abaf168fcb10c13ed5fb7

@ -1 +1 @@
Subproject commit 8ebe6894dddaeb1459e1397c865f54fa5ecaac80
Subproject commit d228bcf7cd94611929482a09e114a42c41fe81a8

@ -1 +1 @@
Subproject commit 89dde4963ad198c9b6144dee3d5e8bcbb7559ddc
Subproject commit f0a70e0993acbb348c32a52a88058cc60c160992

@ -1 +1 @@
Subproject commit 8666451879adc60e9ca66d35b84a6375e9128668
Subproject commit c9615952e71397cec4cf89a9a0db0fb9c491a5e1

@ -1 +1 @@
Subproject commit a066b55f855c8e488d3ea9e26e861bdd5ecd4fe8
Subproject commit 21e89cb61d9ed240c1ddf6dd09ce306e7c9cf437

@ -1 +1 @@
Subproject commit 8f0e296dbf27026ea0515ebae0d3cc41f236ecdc
Subproject commit bf57b4ff3d53726a1317459b0f48853e90d7a6e4

3
.gitmodules vendored
View File

@ -10,9 +10,6 @@
[submodule ".config/nvim/pack/plugins/opt/impatient"]
path = .config/nvim/pack/plugins/opt/impatient
url = https://github.com/lewis6991/impatient.nvim.git
[submodule ".config/nvim/pack/plugins/opt/indent-blankline"]
path = .config/nvim/pack/plugins/opt/indent-blankline
url = https://github.com/lukas-reineke/indent-blankline.nvim.git
[submodule ".config/nvim/pack/plugins/opt/lspconfig"]
path = .config/nvim/pack/plugins/opt/lspconfig
url = https://github.com/neovim/nvim-lspconfig.git