repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

neovim: config for gopls

ce9bff843a78d87222a142fead46662951879874

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (4)

+283 / −74 text lines

NB-00718.symlinks

Modified

+9 / −3 text lines

46 46 starship
47 47 ~/.config/starship
49 -subversion/config
49 +subversion/config.win32
50 50 ~/AppData/Roaming/Subversion/config
52 52 subversion/diff.cmd
53 -X:/bin/snv.diff.cmd
53 +X:/bin/svn.diff.cmd
55 +subversion/diff
56 +X:/bin/diff
55 58 subversion/merge.cmd
56 -X:/bin/snv.merge.cmd
59 +X:/bin/svn.merge.cmd
61 +subversion/merge
62 +X:/bin/merge
58 64 topgrade/topgrade.toml
59 65 ~/AppData/Roaming/topgrade.toml

neovim/lua/bugabinga/lsp.lua

Modified

+56 / −37 text lines

8 8 local localrc = require 'std.localrc'
10 10 if dbg.get() then
11 - vim.lsp.set_log_level('debug')
11 + vim.lsp.set_log_level 'debug'
14 14 local language_servers = {
16 16 root_dir = project.find_lua_project_root,
17 17 settings = {
18 18 Lua = {
19 - hint = { enable = true, setType = true, },
20 - telemetry = { enable = false, },
19 + hint = { enable = true, setType = true },
20 + telemetry = { enable = false },
25 25 root_dir = project.find_java_project_root,
26 26 settings = {
27 27 java = {
28 - signatureHelp = { enabled = true, },
28 + signatureHelp = { enabled = true },
29 29 sources = {
30 - autobuild = { enabled = true, },
31 - signatureHelp = { enabled = true, },
32 - saveActions = { origanizeImports = true, },
30 + autobuild = { enabled = true },
31 + signatureHelp = { enabled = true },
32 + saveActions = { origanizeImports = true },
33 33 organizeImports = {
34 34 starThreshold = 9999,
35 35 staticStarThreshold = 9999,
38 38 toString = {
39 39 template = '${object.className}{${member.name()}=${member.value()}, ${otherMembers}}',
41 - hashCodeEquals = { useJava7Objects = true, },
41 + hashCodeEquals = { useJava7Objects = true },
42 42 useBlocks = true,
44 - eclipse = { downloadSources = true, },
44 + eclipse = { downloadSources = true },
46 46 configuration = {
47 47 updateBuildConfiguration = 'interactive',
49 - maven = { downloadSources = true, },
50 - implementationsCodeLens = { enabled = true, },
51 - referencesCodeLens = { enabled = true, },
52 - references = { includeDecompiledSources = true, },
53 - inlayHints = { parameterNames = { enabled = 'all', }, },
54 - format = { enabled = true, },
55 - }
49 + maven = { downloadSources = true },
50 + implementationsCodeLens = { enabled = true },
51 + referencesCodeLens = { enabled = true },
52 + references = { includeDecompiledSources = true },
53 + inlayHints = { parameterNames = { enabled = 'all' } },
54 + format = { enabled = true },
55 + },
58 - zls = { root_dir = project.find_zig_project_root, },
59 - ziggy = { root_dir = project.find_zig_project_root, },
60 - ziggy_schema = { root_dir = project.find_zig_project_root, },
58 + zls = { root_dir = project.find_zig_project_root },
59 + ziggy = { root_dir = project.find_zig_project_root },
60 + ziggy_schema = { root_dir = project.find_zig_project_root },
61 61 harper_ls = {
62 62 settings = {
63 - ["harper-ls"] = {
63 + ['harper-ls'] = {
64 64 linters = {
65 65 spell_check = true,
66 66 spelled_numbers = true,
77 77 multiple_sequential_pronouns = true,
78 78 linking_verbs = true,
79 79 avoid_curses = true,
80 - terminating_conjunctions = true
80 + terminating_conjunctions = true,
82 82 codeActions = {
83 - forceStable = true
83 + forceStable = true,
85 - }
86 - }
85 + },
86 + },
88 88 asm_lsp = {},
89 89 clangd = {},
96 96 css_variables = {},
97 97 contextive = {},
98 98 emmet_language_server = {},
99 - gopls = {},
99 + gopls = {
100 + analyses = {
101 + unusedparams = true, -- Warnt vor ungenutzten Parametern
102 + shadow = true, -- Erkennt Shadowing von Variablen
103 + },
104 + staticcheck = true, -- Aktiviert Staticcheck für bessere Linting
105 + gofumpt = true, -- Strengere Formatierung (benötigt gofumpt installiert)
106 + completeUnimported = true, -- Vervollständigt auch unimportierte Pakete
107 + usePlaceholders = true, -- Fügt Platzhalter bei Autovervollständigung ein
108 + matcher = 'Fuzzy', -- Fuzzy-Matching für bessere Suche
109 + diagnosticsDelay = '500ms', -- Verzögerung für Diagnosen
110 + hints = { -- Inlay-Hints (falls dein Neovim sie unterstützt)
111 + assignVariableTypes = true,
112 + compositeLiteralFields = true,
113 + constantValues = true,
114 + functionTypeParameters = true,
115 + parameterNames = true,
116 + rangeVariableTypes = true,
117 + },
118 + },
100 119 gradle_ls = {},
101 120 html = {},
102 121 htmx = {},
123 142 local lspconfig = puk 'lspconfig'
124 -for server, config in pairs(language_servers) do
143 +for server, config in pairs( language_servers ) do
125 144 local capabilities = vim.lsp.protocol.make_client_capabilities()
126 - config.capabilities = require('bugabinga.completion').get_lsp_capabilities(config.capabilities)
127 - capabilities = table.extend('force', capabilities, config.capabilities)
145 + config.capabilities = require 'bugabinga.completion'.get_lsp_capabilities( config.capabilities )
146 + capabilities = table.extend( 'force', capabilities, config.capabilities )
128 147 -- local settings = config.settings or {}
129 148 -- TODO Re-implement local settings overrides
130 149 -- local settings_override = local_settings(server) or {}
131 150 -- config.settings = table.extend('force', settings, settings_override)
132 - lspconfig[server].setup(config)
151 + lspconfig[server].setup( config )
135 -local lsp_attach = function(args)
154 +local lsp_attach = function ( args )
136 155 local bufnr = args.buf
137 156 local client_id = args.data.client_id
138 - local client = vim.lsp.get_client_by_id(client_id)
157 + local client = vim.lsp.get_client_by_id( client_id )
139 158 if not client then return end
141 - vim.lsp.completion.enable(true, client_id, bufnr)
160 + vim.lsp.completion.enable( true, client_id, bufnr )
143 162 -- the following are already set by default
144 163 -- but i will remap them anyways for consistency
215 234 description = 'type hierarchy (subtypes)',
216 235 category = 'lsp',
217 236 keys = 'grh',
218 - command = function() vim.lsp.buf.typehierarchy 'subtypes' end,
237 + command = function () vim.lsp.buf.typehierarchy 'subtypes' end,
220 239 map.normal {
221 240 description = 'type hierarchy (supertypes)',
222 241 category = 'lsp',
223 242 keys = 'grH',
224 - command = function() vim.lsp.buf.typehierarchy 'supertypes' end,
243 + command = function () vim.lsp.buf.typehierarchy 'supertypes' end,
227 246 map.insert {
237 256 category = 'lsp',
238 257 buffer = bufnr,
239 258 keys = '<leader>ti',
240 - command = function()
241 - vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
259 + command = function ()
260 + vim.lsp.inlay_hint.enable( not vim.lsp.inlay_hint.is_enabled() )
277 296 local completion_kinds = vim.lsp.protocol.CompletionItemKind
278 -for i, kind in ipairs(completion_kinds) do
297 +for i, kind in ipairs( completion_kinds ) do
279 298 completion_kinds[i] = completion_icons[kind] or kind

neovim/puk.plugins.nuon

Modified

+34 / −34 text lines

12 12 github,
13 13 neovim/nvim-lspconfig,
14 14 master,
15 - "84e0cd5a3c58e88ef706fdf4a1eed59ded1d3ce2",
15 + "8a1529e46eef5efc86c34c8d9bdd313abc2ecba0",
20 20 github,
21 21 nvim-treesitter/nvim-treesitter,
22 22 main,
23 - "7f3563d37ee2689c74970a8230a43d74dc6decb4",
23 + "21b25854cb90ef84879a1176c9c211ec3deaec25",
25 25 nvim,
26 26 --headless,
60 60 github,
61 61 "Saghen/blink.cmp",
62 62 main,
63 - "bf810ebe1251dfa756c7fa328e56b0c2e157d313",
63 + "0075a2d6591dc249d3c149a027cf49fc4754d096",
65 65 cargo,
66 66 build,
72 72 github,
73 73 kylechui/nvim-surround,
74 74 main,
75 - "9f0cb495f25bff32c936062d85046fbda0c43517",
75 + "f70d56275710e202af59148f52100d34b786aecb",
88 88 github,
89 89 "j-hui/fidget.nvim",
90 90 main,
91 - "9238947645ce17d96f30842e61ba81147185b657",
91 + "d9ba6b7bfe29b3119a610892af67602641da778e",
96 96 github,
97 97 "rebelot/heirline.nvim",
98 98 master,
99 - "cc359b628266cb9a84b2d71c883f2b99e16473a0",
99 + "af3f441ea10f96105e1af14cd37bf213533812d2",
103 - plenary,
104 - github,
105 - "nvim-lua/plenary.nvim",
106 - master,
107 - "857c5ac632080dba10aae49dba902ce3abf91b35",
108 - null
109 - ]
103 + plenary,
104 + github,
105 + "nvim-lua/plenary.nvim",
106 + master,
107 + "857c5ac632080dba10aae49dba902ce3abf91b35",
108 + null
109 + ],
111 111 "mini.splitjoin",
112 112 github,
113 113 "echasnovski/mini.splitjoin",
115 - "3e92f6764e770ba392325cad3a4497adcada695f",
115 + "efe24ba54f9623cb05698355981ec05278976788",
120 120 github,
121 121 "echasnovski/mini.hipatterns",
123 - "f34975103a38b3f608219a1324cdfc58ea660b8b",
123 + "fbf1e2195fdd65cf1bc970316c28098257728868",
128 128 github,
129 129 "echasnovski/mini.pairs",
131 - "7e834c5937d95364cc1740e20d673afe2d034cdb",
131 + "1a3e73649c0eaef2f6c48ce1e761c6f0a7c11918",
152 152 github,
153 153 "echasnovski/mini.align",
155 - "acf1ad6031e49553ed887a2a5e3603211346f1de",
155 + "3bdf6f0b91b31db5300a7b04f53f296a7fb150c1",
160 160 github,
161 161 "echasnovski/mini.cursorword",
163 - "7d1b38a17834acbbc4feff8e42aedc4ed0c6ff06",
163 + "939ffcc8c57694608ac0896418d4b9a7c5273909",
168 168 github,
169 169 "echasnovski/mini.diff",
171 - "5947342c95a9c2e24c659b54bb8ef083da4495ad",
171 + "bc3a7be30fd45ed4961ea90de1d9d04637cdeae6",
176 176 github,
177 177 "echasnovski/mini.jump2d",
179 - "88077058297e80f1c76a18ed801ae9d7064187c6",
179 + "3de91ea974627c4c2645e288bf0a6e6717a4dfa8",
184 184 github,
185 185 "echasnovski/mini.operators",
187 - "7cb4dc66c51a3d736d347bbc517dc73dc7d28888",
187 + "02cfac95919b945c19221f0fcebe883c6dce04f6",
192 192 github,
193 193 "echasnovski/mini.splitjoin",
195 - "3e92f6764e770ba392325cad3a4497adcada695f",
195 + "efe24ba54f9623cb05698355981ec05278976788",
200 200 github,
201 201 "echasnovski/mini.move",
203 - "4caa1c212f5ca3d1633d21cfb184808090ed74b1",
203 + "c8b30e92dd2668dd6e56a9a23cb7d4ee38c2266d",
208 208 github,
209 209 "echasnovski/mini.icons",
211 - "44c0160526f7ae17ca8e8eab9ab235d047fcf7a6",
211 + "ec61af6e606fc89ee3b1d8f2f20166a3ca917a36",
216 216 github,
217 217 windwp/nvim-autopairs,
218 218 master,
219 - "b464658e9b880f463b9f7e6ccddd93fb0013f559",
219 + "68f0e5c3dab23261a945272032ee6700af86227a",
224 224 github,
225 225 "brenoprata10/nvim-highlight-colors",
227 - "e967e2ba13fd4ca731b41d0e5cc1ac2edcd6e25e",
227 + "a770df5fbd98abbb0fc1a95d9a3f2bb1e51e3e2c",
232 232 github,
233 233 mfussenegger/nvim-lint,
234 234 master,
235 - "1fea92f1d9908eaa5eb8bafe08b4293d7aadaa55",
235 + "6e9dd545a1af204c4022a8fcd99727ea41ffdcc8",
248 248 github,
249 249 "cxwx/specs.nvim",
251 - "dd82496f538b688cedf98429f89fef47ecb0625e",
251 + "4a2f6f71eaa054a9355a2f424b4723e68f7ce22c",
272 272 github,
273 273 chrisgrieser/nvim-rulebook,
275 - "7325802d4cfdcfd55a51c165290779bc835a0cd3",
275 + "daeb662a331af495a0ff98ca8bd6bc66b5f97db8",
288 288 github,
289 289 "folke/lazydev.nvim",
291 - "8620f82ee3f59ff2187647167b6b47387a13a018",
291 + "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c",
304 304 github,
305 305 "stevearc/profile.nvim",
306 306 master,
307 - "d57df512bdade4c7a04a1bb6c89c8b54c5dce52a",
307 + "30433d7513f0d14665c1cfcea501c90f8a63e003",
320 320 github,
321 321 "rachartier/tiny-inline-diagnostic.nvim",
323 - "de01d4c9cd032d4dac69bf64d5a184fbe62e1fd1",
323 + "5d168a2826fb90691f674e81bd5c1dfa6d931c61",
328 328 github,
329 329 "MagicDuck/grug-far.nvim",
331 - "3d39dc8b31d4ab7aad1b9ffdba136eafc6c7c360",
331 + "0ec6c3a9ef63703975e800d7386b6114863e1f9d",

subversion/config.win32

Added
new file mode 100644

+184 / −0 text lines

1 +### This file configures various client-side behaviors.
2 +###
3 +### The commented-out examples below are intended to demonstrate
4 +### how to use this file.
6 +### Section for authentication and authorization customizations.
7 +[auth]
8 +### Set password stores used by Subversion. They should be
9 +### delimited by spaces or commas. The order of values determines
10 +### the order in which password stores are used.
11 +### Valid password stores:
12 +### gnome-keyring (Unix-like systems)
13 +### kwallet (Unix-like systems)
14 +### gpg-agent (Unix-like systems)
15 +### keychain (Mac OS X)
16 +### windows-cryptoapi (Windows)
17 +# password-stores = gpg-agent,gnome-keyring,kwallet
18 +### To disable all password stores, use an empty list:
19 +# password-stores =
20 +###
21 +### Set KWallet wallet used by Subversion. If empty or unset,
22 +### then the default network wallet will be used.
23 +# kwallet-wallet =
24 +###
25 +### Include PID (Process ID) in Subversion application name when
26 +### using KWallet. It defaults to 'no'.
27 +# kwallet-svn-application-name-with-pid = yes
28 +###
29 +### Set ssl-client-cert-file-prompt to 'yes' to cause the client
30 +### to prompt for a path to a client cert file when the server
31 +### requests a client cert but no client cert file is found in the
32 +### expected place (see the 'ssl-client-cert-file' option in the
33 +### 'servers' configuration file). Defaults to 'no'.
34 +# ssl-client-cert-file-prompt = no
35 +###
36 +### The rest of the [auth] section in this file has been deprecated.
37 +### Both 'store-passwords' and 'store-auth-creds' can now be
38 +### specified in the 'servers' file in your config directory
39 +### and are documented there. Anything specified in this section
40 +### is overridden by settings specified in the 'servers' file.
41 +# store-passwords = no
42 +# store-auth-creds = no
44 +### Section for configuring external helper applications.
45 +[helpers]
46 +### Set editor-cmd to the command used to invoke your text editor.
47 +### This will override the environment variables that Subversion
48 +### examines by default to find this information ($EDITOR,
49 +### et al).
50 +editor-cmd = nvim
51 +### Set diff-cmd to the absolute path of your 'diff' program.
52 +### This will override the compile-time default, which is to use
53 +### Subversion's internal diff implementation.
54 +diff-cmd = svn.diff.cmd
55 +### Diff-extensions are arguments passed to an external diff
56 +### program or to Subversion's internal diff implementation.
57 +### Set diff-extensions to override the default arguments ('-u').
58 +# diff-extensions =
59 +### Set diff3-cmd to the absolute path of your 'diff3' program.
60 +### This will override the compile-time default, which is to use
61 +### Subversion's internal diff3 implementation.
62 +#diff3-cmd = svn.diff3
63 +### Set diff3-has-program-arg to 'yes' if your 'diff3' program
64 +### accepts the '--diff-program' option.
65 +# diff3-has-program-arg = no
66 +### Set merge-tool-cmd to the command used to invoke your external
67 +### merging tool of choice. Subversion will pass 5 arguments to
68 +### the specified command: base theirs mine merged wcfile
69 +merge-tool-cmd = svn.merge.cmd
71 +### Section for configuring tunnel agents.
72 +[tunnels]
73 +### Configure svn protocol tunnel schemes here. By default, only
74 +### the 'ssh' scheme is defined. You can define other schemes to
75 +### be used with 'svn+scheme://hostname/path' URLs. A scheme
76 +### definition is simply a command, optionally prefixed by an
77 +### environment variable name which can override the command if it
78 +### is defined. The command (or environment variable) may contain
79 +### arguments, using standard shell quoting for arguments with
80 +### spaces. The command will be invoked as:
81 +### <command> <hostname> svnserve -t
82 +### (If the URL includes a username, then the hostname will be
83 +### passed to the tunnel agent as <user>@<hostname>.) If the
84 +### built-in ssh scheme were not predefined, it could be defined
85 +### as:
86 +# ssh = $SVN_SSH ssh -q -o ControlMaster=no --
87 +### If you wanted to define a new 'rsh' scheme, to be used with
88 +### 'svn+rsh:' URLs, you could do so as follows:
89 +# rsh = rsh --
90 +### Or, if you wanted to specify a full path and arguments:
91 +# rsh = /path/to/rsh -l myusername --
92 +### On Windows, if you are specifying a full path to a command,
93 +### use a forward slash (/) or a paired backslash (\\) as the
94 +### path separator. A single backslash will be treated as an
95 +### escape for the following character.
97 +### Section for configuring miscellaneous Subversion options.
98 +[miscellany]
99 +### Set global-ignores to a set of whitespace-delimited globs
100 +### which Subversion will ignore in its 'status' output, and
101 +### while importing or adding files and directories.
102 +### '*' matches leading dots, e.g. '*.rej' matches '.foo.rej'.
103 +# global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__
104 +# *.rej *~ #*# .#* .*.swp .DS_Store [Tt]humbs.db
105 +### Set log-encoding to the default encoding for log messages
106 +log-encoding = utf-8
107 +### Set use-commit-times to make checkout/update/switch/revert
108 +### put last-committed timestamps on every file touched.
109 +# use-commit-times = yes
110 +### Set no-unlock to prevent 'svn commit' from automatically
111 +### releasing locks on files.
112 +# no-unlock = yes
113 +### Set mime-types-file to a MIME type registry file, used to
114 +### provide hints to Subversion's MIME type auto-detection
115 +### algorithm.
116 +# mime-types-file = /path/to/mime.types
117 +### Set preserved-conflict-file-exts to a whitespace-delimited
118 +### list of patterns matching file extensions which should be
119 +### preserved in generated conflict file names. By default,
120 +### conflict files use custom extensions.
121 +# preserved-conflict-file-exts = doc ppt xls od?
122 +### Set enable-auto-props to 'yes' to enable automatic properties
123 +### for 'svn add' and 'svn import', it defaults to 'no'.
124 +### Automatic properties are defined in the section 'auto-props'.
125 +# enable-auto-props = yes
126 +### Set interactive-conflicts to 'no' to disable interactive
127 +### conflict resolution prompting. It defaults to 'yes'.
128 +# interactive-conflicts = no
129 +### Set memory-cache-size to define the size of the memory cache
130 +### used by the client when accessing a FSFS repository via
131 +### ra_local (the file:// scheme). The value represents the number
132 +### of MB used by the cache.
133 +# memory-cache-size = 16
134 +### Set diff-ignore-content-type to 'yes' to cause 'svn diff' to
135 +### attempt to show differences of all modified files regardless
136 +### of their MIME content type. By default, Subversion will only
137 +### attempt to show differences for files believed to have human-
138 +### readable (non-binary) content. This option is especially
139 +### useful when Subversion is configured (via the 'diff-cmd'
140 +### option) to employ an external differencing tool which is able
141 +### to show meaningful differences for binary file formats. [New
142 +### in 1.9]
143 +# diff-ignore-content-type = no
145 +### Section for configuring automatic properties.
146 +[auto-props]
147 +### The format of the entries is:
148 +### file-name-pattern = propname[=value][;propname[=value]...]
149 +### The file-name-pattern can contain wildcards (such as '*' and
150 +### '?'). All entries which match (case-insensitively) will be
151 +### applied to the file. Note that auto-props functionality
152 +### must be enabled, which is typically done by setting the
153 +### 'enable-auto-props' option.
154 +# *.c = svn:eol-style=native
155 +# *.cpp = svn:eol-style=native
156 +# *.h = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
157 +# *.dsp = svn:eol-style=CRLF
158 +# *.dsw = svn:eol-style=CRLF
159 +# *.sh = svn:eol-style=native;svn:executable
160 +# *.txt = svn:eol-style=native;svn:keywords=Author Date Id Rev URL;
161 +# *.png = svn:mime-type=image/png
162 +# *.jpg = svn:mime-type=image/jpeg
163 +# Makefile = svn:eol-style=native
165 +### Section for configuring working copies.
166 +[working-copy]
167 +### Set to a list of the names of specific clients that should use
168 +### exclusive SQLite locking of working copies. This increases the
169 +### performance of the client but prevents concurrent access by
170 +### other clients. Third-party clients may also support this
171 +### option.
172 +### Possible values:
173 +### svn (the command line client)
174 +# exclusive-locking-clients =
175 +### Set to true to enable exclusive SQLite locking of working
176 +### copies by all clients using the 1.8 APIs. Enabling this may
177 +### cause some clients to fail to work properly. This does not have
178 +### to be set for exclusive-locking-clients to work.
179 +# exclusive-locking = false
180 +### Set the SQLite busy timeout in milliseconds: the maximum time
181 +### the client waits to get access to the SQLite database before
182 +### returning an error. The default is 10000, i.e. 10 seconds.
183 +### Longer values may be useful when exclusive locking is enabled.
184 +# busy-timeout = 10000