summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorYigit Sever2021-11-07 23:37:50 +0300
committerYigit Sever2021-11-07 23:37:50 +0300
commit87e1645ff32b91f28bee66dfd34ea3eb43575382 (patch)
tree6360be853e3274d4ffc03f8f0e5d5272e06831da /.config
parenta2581b076712bb1997c3856019742df27d15cfac (diff)
downloaddotfiles-87e1645ff32b91f28bee66dfd34ea3eb43575382.tar.gz
dotfiles-87e1645ff32b91f28bee66dfd34ea3eb43575382.tar.bz2
dotfiles-87e1645ff32b91f28bee66dfd34ea3eb43575382.zip
nvim: migrate to gitsigns from gitgutter
diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/plugin_settings.lua70
-rw-r--r--.config/nvim/lua/plugins.lua12
-rw-r--r--.config/nvim/plugin/packer_compiled.lua360
3 files changed, 79 insertions, 363 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua
index bff9bcb..ddc7371 100644
--- a/.config/nvim/lua/plugin_settings.lua
+++ b/.config/nvim/lua/plugin_settings.lua
@@ -462,3 +462,73 @@ require'nvim-tree'.setup {
462-- nvim-colorizer {{{ -- 462-- nvim-colorizer {{{ --
463require 'colorizer'.setup() 463require 'colorizer'.setup()
464-- }}} nvim-colorizer -- 464-- }}} nvim-colorizer --
465
466-- gitsigns.nvim {{{ --
467
468require('gitsigns').setup {
469 signs = {
470 add = {hl = 'GitSignsAdd' , text = '│', numhl='GitSignsAddNr' , linehl='GitSignsAddLn'},
471 change = {hl = 'GitSignsChange', text = '│', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'},
472 delete = {hl = 'GitSignsDelete', text = '_', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'},
473 topdelete = {hl = 'GitSignsDelete', text = '‾', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'},
474 changedelete = {hl = 'GitSignsChange', text = '~', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'},
475
476 },
477 signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
478 numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
479 linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
480 word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff`
481 keymaps = {
482 -- Default keymap options
483 noremap = true,
484
485 ['n ]c'] = { expr = true, "&diff ? ']c' : '<cmd>lua require\"gitsigns.actions\".next_hunk()<CR>'"},
486 ['n [c'] = { expr = true, "&diff ? '[c' : '<cmd>lua require\"gitsigns.actions\".prev_hunk()<CR>'"},
487
488 ['n <leader>hs'] = '<cmd>lua require"gitsigns".stage_hunk()<CR>',
489 ['v <leader>hs'] = '<cmd>lua require"gitsigns".stage_hunk({vim.fn.line("."), vim.fn.line("v")})<CR>',
490 ['n <leader>hu'] = '<cmd>lua require"gitsigns".undo_stage_hunk()<CR>',
491 ['n <leader>hr'] = '<cmd>lua require"gitsigns".reset_hunk()<CR>',
492 ['v <leader>hr'] = '<cmd>lua require"gitsigns".reset_hunk({vim.fn.line("."), vim.fn.line("v")})<CR>',
493 ['n <leader>hR'] = '<cmd>lua require"gitsigns".reset_buffer()<CR>',
494 ['n <leader>hp'] = '<cmd>lua require"gitsigns".preview_hunk()<CR>',
495 ['n <leader>hb'] = '<cmd>lua require"gitsigns".blame_line(true)<CR>',
496 ['n <leader>hS'] = '<cmd>lua require"gitsigns".stage_buffer()<CR>',
497 ['n <leader>hU'] = '<cmd>lua require"gitsigns".reset_buffer_index()<CR>',
498
499 -- Text objects
500 ['o ih'] = ':<C-U>lua require"gitsigns.actions".select_hunk()<CR>',
501 ['x ih'] = ':<C-U>lua require"gitsigns.actions".select_hunk()<CR>'
502 },
503 watch_gitdir = {
504 interval = 1000,
505 follow_files = true
506 },
507 attach_to_untracked = true,
508 current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame`
509 current_line_blame_opts = {
510 virt_text = true,
511 virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align'
512 delay = 1000,
513 },
514 current_line_blame_formatter_opts = {
515 relative_time = false
516 },
517 sign_priority = 6,
518 update_debounce = 100,
519 status_formatter = nil, -- Use default
520 max_file_length = 40000,
521 preview_config = {
522 -- Options passed to nvim_open_win
523 border = 'single',
524 style = 'minimal',
525 relative = 'cursor',
526 row = 0,
527 col = 1
528 },
529 yadm = {
530 enable = true
531 },
532}
533
534-- }}} gitsigns.nvim --
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index 6d982de..b3a87b2 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -31,10 +31,18 @@ return require('packer').startup(function()
31 -- find, filter, preview, pick 31 -- find, filter, preview, pick
32 use { 32 use {
33 'nvim-telescope/telescope.nvim', 33 'nvim-telescope/telescope.nvim',
34 requires = { {'nvim-lua/plenary.nvim'} } 34 requires = { 'nvim-lua/plenary.nvim' }
35 } 35 }
36 use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make' } 36 use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }
37 37
38 -- git integration for buffers
39 use {
40 'lewis6991/gitsigns.nvim',
41 requires = {
42 'nvim-lua/plenary.nvim'
43 },
44 }
45
38 -- manages tag files 46 -- manages tag files
39 use 'ludovicchabant/vim-gutentags' 47 use 'ludovicchabant/vim-gutentags'
40 -- run tests (todo: write tests) 48 -- run tests (todo: write tests)
@@ -45,8 +53,6 @@ return require('packer').startup(function()
45 use {'SirVer/ultisnips', 'honza/vim-snippets'} 53 use {'SirVer/ultisnips', 'honza/vim-snippets'}
46 -- autopairs for neovim 54 -- autopairs for neovim
47 use 'windwp/nvim-autopairs' 55 use 'windwp/nvim-autopairs'
48 -- git diff in the sign column
49 use 'airblade/vim-gitgutter'
50 -- completion preview of floating window 56 -- completion preview of floating window
51 use 'ncm2/float-preview.nvim' 57 use 'ncm2/float-preview.nvim'
52 -- indent guides 58 -- indent guides
diff --git a/.config/nvim/plugin/packer_compiled.lua b/.config/nvim/plugin/packer_compiled.lua
deleted file mode 100644
index 04db45e..0000000
--- a/.config/nvim/plugin/packer_compiled.lua
+++ /dev/null
@@ -1,360 +0,0 @@
1-- Automatically generated packer.nvim plugin loader code
2
3if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then
4 vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"')
5 return
6end
7
8vim.api.nvim_command('packadd packer.nvim')
9
10local no_errors, error_msg = pcall(function()
11
12 local time
13 local profile_info
14 local should_profile = false
15 if should_profile then
16 local hrtime = vim.loop.hrtime
17 profile_info = {}
18 time = function(chunk, start)
19 if start then
20 profile_info[chunk] = hrtime()
21 else
22 profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6
23 end
24 end
25 else
26 time = function(chunk, start) end
27 end
28
29local function save_profiles(threshold)
30 local sorted_times = {}
31 for chunk_name, time_taken in pairs(profile_info) do
32 sorted_times[#sorted_times + 1] = {chunk_name, time_taken}
33 end
34 table.sort(sorted_times, function(a, b) return a[2] > b[2] end)
35 local results = {}
36 for i, elem in ipairs(sorted_times) do
37 if not threshold or threshold and elem[2] > threshold then
38 results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms'
39 end
40 end
41
42 _G._packer = _G._packer or {}
43 _G._packer.profile_output = results
44end
45
46time([[Luarocks path setup]], true)
47local package_path_str = "/home/yigit/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?.lua;/home/yigit/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?/init.lua;/home/yigit/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?.lua;/home/yigit/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?/init.lua"
48local install_cpath_pattern = "/home/yigit/.cache/nvim/packer_hererocks/2.0.5/lib/lua/5.1/?.so"
49if not string.find(package.path, package_path_str, 1, true) then
50 package.path = package.path .. ';' .. package_path_str
51end
52
53if not string.find(package.cpath, install_cpath_pattern, 1, true) then
54 package.cpath = package.cpath .. ';' .. install_cpath_pattern
55end
56
57time([[Luarocks path setup]], false)
58time([[try_loadstring definition]], true)
59local function try_loadstring(s, component, name)
60 local success, result = pcall(loadstring(s))
61 if not success then
62 vim.schedule(function()
63 vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {})
64 end)
65 end
66 return result
67end
68
69time([[try_loadstring definition]], false)
70time([[Defining packer_plugins]], true)
71_G.packer_plugins = {
72 ["beacon.nvim"] = {
73 loaded = true,
74 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/beacon.nvim"
75 },
76 ["cmp-buffer"] = {
77 loaded = true,
78 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/cmp-buffer"
79 },
80 ["cmp-nvim-lsp"] = {
81 loaded = true,
82 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp"
83 },
84 ["cmp-nvim-ultisnips"] = {
85 loaded = true,
86 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/cmp-nvim-ultisnips"
87 },
88 ["dashboard-nvim"] = {
89 loaded = true,
90 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/dashboard-nvim"
91 },
92 ["filetype.nvim"] = {
93 loaded = true,
94 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/filetype.nvim"
95 },
96 ["float-preview.nvim"] = {
97 loaded = true,
98 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/float-preview.nvim"
99 },
100 ["goyo.vim"] = {
101 loaded = true,
102 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/goyo.vim"
103 },
104 ["i3config.vim"] = {
105 loaded = true,
106 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/i3config.vim"
107 },
108 ["indent-blankline.nvim"] = {
109 loaded = true,
110 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim"
111 },
112 ["limelight.vim"] = {
113 loaded = true,
114 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/limelight.vim"
115 },
116 ["lualine.nvim"] = {
117 loaded = true,
118 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/lualine.nvim"
119 },
120 neovim = {
121 loaded = true,
122 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/neovim"
123 },
124 ["nvim-autopairs"] = {
125 loaded = true,
126 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/nvim-autopairs"
127 },
128 ["nvim-cmp"] = {
129 loaded = true,
130 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/nvim-cmp"
131 },
132 ["nvim-colorizer.lua"] = {
133 loaded = true,
134 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua"
135 },
136 ["nvim-lspconfig"] = {
137 loaded = true,
138 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/nvim-lspconfig"
139 },
140 ["nvim-tree.lua"] = {
141 loaded = true,
142 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/nvim-tree.lua"
143 },
144 ["nvim-treesitter"] = {
145 loaded = true,
146 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/nvim-treesitter"
147 },
148 ["nvim-web-devicons"] = {
149 loaded = true,
150 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/nvim-web-devicons"
151 },
152 ["packer.nvim"] = {
153 loaded = true,
154 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/packer.nvim"
155 },
156 ["plenary.nvim"] = {
157 loaded = true,
158 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/plenary.nvim"
159 },
160 tabular = {
161 loaded = true,
162 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/tabular"
163 },
164 ["targets.vim"] = {
165 loaded = true,
166 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/targets.vim"
167 },
168 ["telescope-fzf-native.nvim"] = {
169 loaded = true,
170 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/telescope-fzf-native.nvim"
171 },
172 ["telescope.nvim"] = {
173 loaded = true,
174 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/telescope.nvim"
175 },
176 ["traces.vim"] = {
177 loaded = true,
178 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/traces.vim"
179 },
180 ["turkish-deasciifier.vim"] = {
181 loaded = true,
182 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/turkish-deasciifier.vim"
183 },
184 ultisnips = {
185 loaded = true,
186 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/ultisnips"
187 },
188 undotree = {
189 commands = { "UndotreeToggle" },
190 config = { "vim.g.undotree_SetFocusWhenToggle = 1" },
191 loaded = false,
192 needs_bufread = false,
193 only_cond = false,
194 path = "/home/yigit/.local/share/nvim/site/pack/packer/opt/undotree"
195 },
196 ["vim-characterize"] = {
197 loaded = true,
198 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-characterize"
199 },
200 ["vim-commentary"] = {
201 loaded = true,
202 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-commentary"
203 },
204 ["vim-cutlass"] = {
205 loaded = true,
206 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-cutlass"
207 },
208 ["vim-dispatch"] = {
209 commands = { "Dispatch", "Make", "Focus", "Start" },
210 loaded = false,
211 needs_bufread = false,
212 only_cond = false,
213 path = "/home/yigit/.local/share/nvim/site/pack/packer/opt/vim-dispatch"
214 },
215 ["vim-fugitive"] = {
216 commands = { "Git", "Gstatus", "Gblame", "Gpush", "Gpull" },
217 loaded = false,
218 needs_bufread = true,
219 only_cond = false,
220 path = "/home/yigit/.local/share/nvim/site/pack/packer/opt/vim-fugitive"
221 },
222 ["vim-gitgutter"] = {
223 loaded = true,
224 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-gitgutter"
225 },
226 ["vim-gutentags"] = {
227 loaded = true,
228 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-gutentags"
229 },
230 ["vim-indent-object"] = {
231 loaded = true,
232 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-indent-object"
233 },
234 ["vim-interestingwords"] = {
235 loaded = true,
236 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-interestingwords"
237 },
238 ["vim-kitty"] = {
239 loaded = true,
240 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-kitty"
241 },
242 ["vim-lastplace"] = {
243 loaded = true,
244 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-lastplace"
245 },
246 ["vim-ledger"] = {
247 loaded = true,
248 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-ledger"
249 },
250 ["vim-move"] = {
251 loaded = true,
252 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-move"
253 },
254 ["vim-peekaboo"] = {
255 loaded = true,
256 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-peekaboo"
257 },
258 ["vim-repeat"] = {
259 loaded = true,
260 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-repeat"
261 },
262 ["vim-sandwich"] = {
263 loaded = true,
264 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-sandwich"
265 },
266 ["vim-slime"] = {
267 loaded = true,
268 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-slime"
269 },
270 ["vim-sneak"] = {
271 loaded = true,
272 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-sneak"
273 },
274 ["vim-snippets"] = {
275 loaded = true,
276 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-snippets"
277 },
278 ["vim-speeddating"] = {
279 loaded = true,
280 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-speeddating"
281 },
282 ["vim-subversive"] = {
283 loaded = true,
284 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-subversive"
285 },
286 ["vim-swap"] = {
287 loaded = true,
288 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-swap"
289 },
290 ["vim-test"] = {
291 loaded = true,
292 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-test"
293 },
294 ["vim-unimpaired"] = {
295 loaded = true,
296 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-unimpaired"
297 },
298 ["vim-yoink"] = {
299 loaded = true,
300 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vim-yoink"
301 },
302 vimtex = {
303 loaded = false,
304 needs_bufread = true,
305 only_cond = false,
306 path = "/home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex"
307 },
308 vimwiki = {
309 loaded = true,
310 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vimwiki"
311 },
312 ["vista.vim"] = {
313 loaded = true,
314 path = "/home/yigit/.local/share/nvim/site/pack/packer/start/vista.vim"
315 }
316}
317
318time([[Defining packer_plugins]], false)
319
320-- Command lazy-loads
321time([[Defining lazy-load commands]], true)
322pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Make lua require("packer.load")({'vim-dispatch'}, { cmd = "Make", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
323pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Gblame lua require("packer.load")({'vim-fugitive'}, { cmd = "Gblame", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
324pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Gstatus lua require("packer.load")({'vim-fugitive'}, { cmd = "Gstatus", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
325pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file UndotreeToggle lua require("packer.load")({'undotree'}, { cmd = "UndotreeToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
326pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Focus lua require("packer.load")({'vim-dispatch'}, { cmd = "Focus", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
327pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Gpull lua require("packer.load")({'vim-fugitive'}, { cmd = "Gpull", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
328pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Gpush lua require("packer.load")({'vim-fugitive'}, { cmd = "Gpush", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
329pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Git lua require("packer.load")({'vim-fugitive'}, { cmd = "Git", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
330pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Dispatch lua require("packer.load")({'vim-dispatch'}, { cmd = "Dispatch", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
331pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Start lua require("packer.load")({'vim-dispatch'}, { cmd = "Start", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
332time([[Defining lazy-load commands]], false)
333
334vim.cmd [[augroup packer_load_aucmds]]
335vim.cmd [[au!]]
336 -- Filetype lazy-loads
337time([[Defining lazy-load filetype autocommands]], true)
338vim.cmd [[au FileType plaintext ++once lua require("packer.load")({'vimtex'}, { ft = "plaintext" }, _G.packer_plugins)]]
339vim.cmd [[au FileType latex ++once lua require("packer.load")({'vimtex'}, { ft = "latex" }, _G.packer_plugins)]]
340vim.cmd [[au FileType tex ++once lua require("packer.load")({'vimtex'}, { ft = "tex" }, _G.packer_plugins)]]
341time([[Defining lazy-load filetype autocommands]], false)
342vim.cmd("augroup END")
343vim.cmd [[augroup filetypedetect]]
344time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]], true)
345vim.cmd [[source /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]]
346time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]], false)
347time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]], true)
348vim.cmd [[source /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]]
349time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]], false)
350time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]], true)
351vim.cmd [[source /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]]
352time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]], false)
353vim.cmd("augroup END")
354if should_profile then save_profiles() end
355
356end)
357
358if not no_errors then
359 vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
360end