diff options
Diffstat (limited to '.config/nvim/plugin')
-rw-r--r-- | .config/nvim/plugin/packer_compiled.lua | 360 |
1 files changed, 0 insertions, 360 deletions
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 | |||
3 | if 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 | ||
6 | end | ||
7 | |||
8 | vim.api.nvim_command('packadd packer.nvim') | ||
9 | |||
10 | local 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 | |||
29 | local 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 | ||
44 | end | ||
45 | |||
46 | time([[Luarocks path setup]], true) | ||
47 | local 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" | ||
48 | local install_cpath_pattern = "/home/yigit/.cache/nvim/packer_hererocks/2.0.5/lib/lua/5.1/?.so" | ||
49 | if not string.find(package.path, package_path_str, 1, true) then | ||
50 | package.path = package.path .. ';' .. package_path_str | ||
51 | end | ||
52 | |||
53 | if not string.find(package.cpath, install_cpath_pattern, 1, true) then | ||
54 | package.cpath = package.cpath .. ';' .. install_cpath_pattern | ||
55 | end | ||
56 | |||
57 | time([[Luarocks path setup]], false) | ||
58 | time([[try_loadstring definition]], true) | ||
59 | local 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 | ||
67 | end | ||
68 | |||
69 | time([[try_loadstring definition]], false) | ||
70 | time([[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 | |||
318 | time([[Defining packer_plugins]], false) | ||
319 | |||
320 | -- Command lazy-loads | ||
321 | time([[Defining lazy-load commands]], true) | ||
322 | pcall(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)]]) | ||
323 | pcall(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)]]) | ||
324 | pcall(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)]]) | ||
325 | pcall(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)]]) | ||
326 | pcall(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)]]) | ||
327 | pcall(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)]]) | ||
328 | pcall(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)]]) | ||
329 | pcall(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)]]) | ||
330 | pcall(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)]]) | ||
331 | pcall(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)]]) | ||
332 | time([[Defining lazy-load commands]], false) | ||
333 | |||
334 | vim.cmd [[augroup packer_load_aucmds]] | ||
335 | vim.cmd [[au!]] | ||
336 | -- Filetype lazy-loads | ||
337 | time([[Defining lazy-load filetype autocommands]], true) | ||
338 | vim.cmd [[au FileType plaintext ++once lua require("packer.load")({'vimtex'}, { ft = "plaintext" }, _G.packer_plugins)]] | ||
339 | vim.cmd [[au FileType latex ++once lua require("packer.load")({'vimtex'}, { ft = "latex" }, _G.packer_plugins)]] | ||
340 | vim.cmd [[au FileType tex ++once lua require("packer.load")({'vimtex'}, { ft = "tex" }, _G.packer_plugins)]] | ||
341 | time([[Defining lazy-load filetype autocommands]], false) | ||
342 | vim.cmd("augroup END") | ||
343 | vim.cmd [[augroup filetypedetect]] | ||
344 | time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]], true) | ||
345 | vim.cmd [[source /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]] | ||
346 | time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]], false) | ||
347 | time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]], true) | ||
348 | vim.cmd [[source /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]] | ||
349 | time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]], false) | ||
350 | time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]], true) | ||
351 | vim.cmd [[source /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]] | ||
352 | time([[Sourcing ftdetect script at: /home/yigit/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]], false) | ||
353 | vim.cmd("augroup END") | ||
354 | if should_profile then save_profiles() end | ||
355 | |||
356 | end) | ||
357 | |||
358 | if 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') | ||
360 | end | ||