aboutsummaryrefslogtreecommitdiff
path: root/nvim_alt/plugins.vim
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-01-06 09:50:21 +0100
committerThomas Schmucker <ts@its1.de>2026-01-06 09:50:21 +0100
commit23cc6a0cc25544fa8b193ba2b38873dc1c3bdcc8 (patch)
tree521d96762ecf6e8d8a98bf6a3140a9a46086cb6d /nvim_alt/plugins.vim
parent922518123990897e35ed1d94d0e6bd1314b7189e (diff)
downloaddotfiles-23cc6a0cc25544fa8b193ba2b38873dc1c3bdcc8.tar.gz
dotfiles-23cc6a0cc25544fa8b193ba2b38873dc1c3bdcc8.tar.bz2
dotfiles-23cc6a0cc25544fa8b193ba2b38873dc1c3bdcc8.zip
Alte Neovim- und Tmuxp-Konfigurationen entfernt
Diffstat (limited to 'nvim_alt/plugins.vim')
-rw-r--r--nvim_alt/plugins.vim153
1 files changed, 0 insertions, 153 deletions
diff --git a/nvim_alt/plugins.vim b/nvim_alt/plugins.vim
deleted file mode 100644
index 4277d35..0000000
--- a/nvim_alt/plugins.vim
+++ /dev/null
@@ -1,153 +0,0 @@
1" automatische Installation von vim-plug
2let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
3if empty(glob(data_dir . '/autoload/plug.vim'))
4 silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
5endif
6
7" vim-plug
8call plug#begin()
9 Plug 'neovim/nvim-lspconfig'
10
11 Plug 'nvim-tree/nvim-web-devicons'
12 Plug 'nvim-tree/nvim-tree.lua'
13
14 Plug 'romainl/vim-cool'
15
16 Plug 'tpope/vim-repeat'
17 Plug 'tpope/vim-surround'
18
19 Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
20
21 Plug 'windwp/nvim-autopairs'
22 Plug 'windwp/nvim-ts-autotag'
23
24 Plug 'lewis6991/gitsigns.nvim'
25
26 Plug 'RRethy/vim-illuminate'
27
28 " Telescope
29 Plug 'nvim-lua/plenary.nvim'
30 Plug 'nvim-telescope/telescope.nvim'
31
32 " Colorscheme
33 Plug 'tomasiser/vim-code-dark'
34call plug#end()
35
36lua << EOF
37
38-- nvim-tree
39vim.g.loaded_netrw = 1
40vim.g.loaded_netrwPlugin = 1
41
42require("nvim-tree").setup({
43 sort = {
44 sorter = "case_sensitive",
45 },
46 view = {
47 adaptive_size = true,
48 },
49 renderer = {
50 group_empty = true,
51 indent_markers = {
52 enable = true,
53 },
54 },
55 filters = {
56 dotfiles = true,
57 },
58})
59
60-- require('nvim-treesitter.configs').setup {
61-- ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "typescript", "python", "html", "go", "gomod", "gosum" },
62-- sync_install = false,
63-- auto_install = false,
64-- highlight = {
65-- enable = true,
66-- additional_vim_regex_highlighting = true,
67-- },
68-- indent = {
69-- enable = true,
70-- }
71-- }
72
73require'nvim-treesitter'.install { "c", "cpp", "lua", "vim", "vimdoc", "typescript", "python", "html", "go", "gomod", "gosum" }
74
75require('nvim-autopairs').setup()
76
77require('nvim-ts-autotag').setup()
78
79require('gitsigns').setup()
80
81require('illuminate').configure({
82 -- providers: provider used to get references in the buffer, ordered by priority
83 providers = {
84 'lsp',
85 'treesitter',
86 'regex',
87 },
88 -- delay: delay in milliseconds
89 delay = 50,
90 -- filetype_overrides: filetype specific overrides.
91 -- The keys are strings to represent the filetype while the values are tables that
92 -- supports the same keys passed to .configure except for filetypes_denylist and filetypes_allowlist
93 filetype_overrides = {},
94 -- filetypes_denylist: filetypes to not illuminate, this overrides filetypes_allowlist
95 filetypes_denylist = {
96 'dirbuf',
97 'dirvish',
98 'fugitive',
99 },
100 -- filetypes_allowlist: filetypes to illuminate, this is overridden by filetypes_denylist
101 -- You must set filetypes_denylist = {} to override the defaults to allow filetypes_allowlist to take effect
102 filetypes_allowlist = {},
103 -- modes_denylist: modes to not illuminate, this overrides modes_allowlist
104 -- See `:help mode()` for possible values
105 modes_denylist = {},
106 -- modes_allowlist: modes to illuminate, this is overridden by modes_denylist
107 -- See `:help mode()` for possible values
108 modes_allowlist = {},
109 -- providers_regex_syntax_denylist: syntax to not illuminate, this overrides providers_regex_syntax_allowlist
110 -- Only applies to the 'regex' provider
111 -- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
112 providers_regex_syntax_denylist = {},
113 -- providers_regex_syntax_allowlist: syntax to illuminate, this is overridden by providers_regex_syntax_denylist
114 -- Only applies to the 'regex' provider
115 -- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
116 providers_regex_syntax_allowlist = {},
117 -- under_cursor: whether or not to illuminate under the cursor
118 under_cursor = true,
119 -- large_file_cutoff: number of lines at which to use large_file_config
120 -- The `under_cursor` option is disabled when this cutoff is hit
121 large_file_cutoff = nil,
122 -- large_file_config: config to use for large files (based on large_file_cutoff).
123 -- Supports the same keys passed to .configure
124 -- If nil, vim-illuminate will be disabled for large files.
125 large_file_overrides = nil,
126 -- min_count_to_highlight: minimum number of matches required to perform highlighting
127 min_count_to_highlight = 2,
128 -- should_enable: a callback that overrides all other settings to
129 -- enable/disable illumination. This will be called a lot so don't do
130 -- anything expensive in it.
131 should_enable = function(bufnr) return true end,
132 -- case_insensitive_regex: sets regex case sensitivity
133 case_insensitive_regex = false,
134})
135
136-- change the highlight style
137
138vim.api.nvim_set_hl(0, "IlluminatedWordText", { link = "MatchParen" })
139vim.api.nvim_set_hl(0, "IlluminatedWordRead", { link = "MatchParen" })
140vim.api.nvim_set_hl(0, "IlluminatedWordWrite", { link = "MatchParen" })
141
142--- auto update the highlight style on colorscheme change
143vim.api.nvim_create_autocmd({ "ColorScheme" }, {
144 pattern = { "*" },
145 callback = function(ev)
146 vim.api.nvim_set_hl(0, "IlluminatedWordText", { link = "MatchParen" })
147 vim.api.nvim_set_hl(0, "IlluminatedWordRead", { link = "MatchParen" })
148 vim.api.nvim_set_hl(0, "IlluminatedWordWrite", { link = "MatchParen" })
149 end
150})
151
152EOF
153