@@ -133,6 +133,11 @@ autocomplete_trigger_sequences=
133
133
# 'begin' and 'end' which are typically followed by a newline where typing enter
134
134
# after these words might select some unwanted word from the autocompletion list.
135
135
autocomplete_hide_after_words=
136
+ # Whether to perform autocompletion inside strings
137
+ autocomplete_in_strings=false
138
+ # Show documentation (if available) of selected item in autocompletion popup
139
+ # in Geany status bar
140
+ autocomplete_show_documentation=true
136
141
137
142
# Whether LSP should be used to display diagnostic messages. Typically these are
138
143
# compiler errors or warnings
@@ -237,12 +242,16 @@ format_on_save=false
237
242
# when servers do not correctly terminate progress notifications.
238
243
progress_bar_enable=true
239
244
245
+ # Enable non-standard clangd extension allowing to swap between C/C++ headers
246
+ # and sources. Only usable for clangd, it does not work with other servers.
247
+ swap_header_source_enable=false
248
+
240
249
241
250
# This is a dummy language server configuration describing the available
242
251
# language-specific options. Most of the configuration options from the [all]
243
252
# section can be used here as well.
244
253
# For an extensive list of various servers and their configurations, check
245
- # https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations .md
254
+ # https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs .md
246
255
# While the configuration options names of neovim differ from Geany, the
247
256
# general concepts are similar and applicable here.
248
257
[DummyLanguage]
@@ -281,6 +290,8 @@ lang_id_mappings=dummylanguage;*.dummy
281
290
# first). The compile_commands.json file has to be manually regenerated when
282
291
# the build is modified in any way, such as a file is added/removed.
283
292
cmd=clangd
293
+ swap_header_source_enable=true
294
+ autocomplete_in_strings=true
284
295
autocomplete_use_label=false
285
296
semantic_tokens_enable=true
286
297
#initialization_options={"compilationDatabasePath": "/home/some_user/my_project/my_builddir"}
@@ -297,6 +308,28 @@ command_1_regex=Apply fix:.*
297
308
use=C
298
309
299
310
311
+ [CSS]
312
+ cmd=vscode-css-language-server --stdio
313
+ extra_identifier_characters=-
314
+ send_did_change_configuration=true
315
+ autocomplete_use_snippets=true
316
+ use_without_project=true
317
+ use_outside_project_dir=true
318
+ #rpc_log=stdout
319
+ #rpc_log_full=true
320
+ #show_server_stderr=true
321
+
322
+
323
+ [Dart]
324
+ cmd=dart language-server --protocol=lsp
325
+ # everything except ( which conflicts with signature help
326
+ autocomplete_trigger_sequences=.;=;$;";';{;/;:
327
+ semantic_tokens_enable=true
328
+ #rpc_log=stdout
329
+ #rpc_log_full=true
330
+ #show_server_stderr=true
331
+
332
+
300
333
[Go]
301
334
cmd=gopls
302
335
autocomplete_apply_additional_edits=true
@@ -324,6 +357,18 @@ semantic_tokens_enable=false
324
357
#show_server_stderr=true
325
358
326
359
360
+ [HTML]
361
+ cmd=vscode-html-language-server --stdio
362
+ extra_identifier_characters=&
363
+ send_did_change_configuration=true
364
+ autocomplete_use_snippets=true
365
+ use_without_project=true
366
+ use_outside_project_dir=true
367
+ #rpc_log=stdout
368
+ #rpc_log_full=true
369
+ #show_server_stderr=true
370
+
371
+
327
372
[Java]
328
373
cmd=jdtls
329
374
autocomplete_use_label=false
@@ -391,8 +436,11 @@ extra_identifier_characters=$
391
436
[Python]
392
437
# pip install pyright (or: pipx install pyright)
393
438
cmd=pyright-langserver --stdio
394
- # alternatively pylsp
439
+ cmd=pyright-langserver --stdio
440
+ # alternatively pylsp, jedi, ruff
395
441
#cmd=pylsp
442
+ #cmd=jedi-language-server
443
+ #cmd=ruff server
396
444
use_outside_project_dir=true
397
445
use_without_project=true
398
446
#rpc_log=stdout
@@ -446,6 +494,7 @@ autocomplete_use_snippets=true
446
494
diagnostics_statusbar_severity=4
447
495
use_without_project=true
448
496
use_outside_project_dir=true
497
+ autocomplete_in_strings=true
449
498
# see https://github.com/eclipse/lemminx/blob/main/docs/Configuration.md
450
499
#initialization_options_file=/home/some_user/init_options.json
451
500
#formatting_options={ "tabSize": 4, "insertSpaces": true }
@@ -465,6 +514,15 @@ use_outside_project_dir=true
465
514
#show_server_stderr=true
466
515
467
516
517
+ [Zig]
518
+ cmd=zls
519
+ semantic_tokens_enable=true
520
+ #autocomplete_use_snippets=true
521
+ #rpc_log=stdout
522
+ #rpc_log_full=true
523
+ #show_server_stderr=true
524
+
525
+
468
526
# TODO: help needed! Only the above defined language servers have been tested
469
527
# (lightly). If you know some other working language server or find a problem
470
528
# with the settings above, please open an issue report or a pull request
0 commit comments