- commit
- 1993263
- parent
- 20540db
- author
- Eric Bower
- date
- 2025-07-17 23:51:24 -0400 EDT
chore(nvim): lazy tweaks
1 files changed,
+23,
-35
+23,
-35
1@@ -44,7 +44,7 @@ autocmd('Filetype', {
2 })
3 autocmd('FileType', {
4 group = vim.api.nvim_create_augroup('close_with_q', { clear = true }),
5- pattern = { 'help', 'man', 'qf', 'scratch' },
6+ pattern = { 'help', 'man', 'qf', 'scratch', 'fugitive' },
7 callback = function(args)
8 map('n', 'q', '<cmd>quit<cr>', { buffer = args.buf })
9 end,
10@@ -158,6 +158,14 @@ require("lazy").setup({
11 },
12 },
13 spec = {
14+ {
15+ 'Mofiqul/dracula.nvim',
16+ lazy = false,
17+ priority = 1000,
18+ config = function()
19+ vim.cmd[[colorscheme dracula]]
20+ end
21+ },
22 { 'neovim/nvim-lspconfig', config = setup_lsp },
23 {
24 'nvim-treesitter/nvim-treesitter',
25@@ -181,18 +189,18 @@ require("lazy").setup({
26 end
27 })
28 end,
29- },
30- {
31- "nvim-treesitter/nvim-treesitter-context",
32- config = function()
33- require('treesitter-context').setup({
34- max_lines = 3,
35- multiline_threshold = 1,
36- separator = '-',
37- min_window_height = 20,
38- line_numbers = true
39- })
40- end,
41+ dependencies = {
42+ {
43+ "nvim-treesitter/nvim-treesitter-context",
44+ opts = {
45+ max_lines = 3,
46+ multiline_threshold = 1,
47+ separator = '-',
48+ min_window_height = 20,
49+ line_numbers = true
50+ },
51+ },
52+ },
53 },
54 {
55 "ibhagwan/fzf-lua",
56@@ -211,28 +219,8 @@ require("lazy").setup({
57 fzf.setup({'max-perf'})
58 end
59 },
60- {
61- 'Mofiqul/dracula.nvim',
62- lazy = false,
63- priority = 1000,
64- config = function()
65- require('dracula').setup({})
66- vim.cmd[[colorscheme dracula]]
67- end
68- },
69- {
70- "karb94/neoscroll.nvim",
71- config = function()
72- require('neoscroll').setup({ duration_multiplier = 0.4 })
73- end
74- },
75- {
76- 'ruifm/gitlinker.nvim',
77- dependencies = 'nvim-lua/plenary.nvim',
78- config = function()
79- require"gitlinker".setup()
80- end,
81- },
82+ { "karb94/neoscroll.nvim", opts = { duration_multiplier = 0.4 } },
83+ { 'ruifm/gitlinker.nvim', dependencies = 'nvim-lua/plenary.nvim', opts = {} },
84 { "tpope/vim-fugitive" },
85 },
86 })