Commit Graph

151 Commits

Author SHA1 Message Date
Folke Lemaitre 5c9c9ef4f0
refactor: remove types.lua 2022-09-10 15:09:21 +02:00
Folke Lemaitre 580c644c37
feat: added settings files to lsp settings view 2022-09-10 14:47:33 +02:00
Folke Lemaitre 2d0bda5450
fix: pass fully qualified fname to on_update instead of event.match 2022-09-10 14:41:46 +02:00
Folke Lemaitre 8c4868e87e
fix: only reload lsp when settings file is part of settings root for root_dir 2022-09-10 14:41:46 +02:00
Folke Lemaitre 3bc55eac73
fix: return deepcopy of defaults when key value is nil 2022-09-10 14:41:46 +02:00
Folke Lemaitre 5afbede9ba
feat: dont show imported files that dont exist for commands and views 2022-09-10 14:13:43 +02:00
Folke Lemaitre 16a44b9575
feat: always recursively expand keys in when loading settings 2022-09-10 14:05:59 +02:00
Folke Lemaitre c6f962183b
feat: wrap pcall in try util method to show error on error 2022-09-10 14:05:31 +02:00
Folke Lemaitre 1097809894
feat: added float to see merged settings 2022-09-10 14:05:07 +02:00
Folke Lemaitre f6835648d8
feat: added importers for vscode, nlsp-settings and coc-settings 2022-09-10 14:04:32 +02:00
Folke Lemaitre 675bdd9a80
fix: load settings from "settings" instead of "settings.nvim" 2022-09-10 14:04:01 +02:00
Folke Lemaitre a8e496f73e
feat: easier way to work with setting patterns 2022-09-10 14:03:08 +02:00
Folke Lemaitre 79a3cf0176
refactor: better structure for sumneko config 2022-09-10 11:05:10 +02:00
Folke Lemaitre 4c01527b7d
feat: added generic return for settings.get 2022-09-09 23:24:44 +02:00
Folke Lemaitre f0680397ac
feat: helper method to log errors with pcall 2022-09-09 23:24:44 +02:00
Folke Lemaitre 4d72d213c7
feat: use global/local settings for all plugins 2022-09-09 23:24:44 +02:00
Folke Lemaitre c6f75787e7
feat: added settings.nvim config schema 2022-09-09 23:24:44 +02:00
Folke Lemaitre 944333cda4
feat: added config options for all plugins 2022-09-09 23:24:44 +02:00
Folke Lemaitre 9fc940e3c8
refactor: renamed plugin lsp to lspconfig 2022-09-09 23:24:44 +02:00
Folke Lemaitre 92978e9215
refactor: cleanup 2022-09-09 23:24:43 +02:00
Folke Lemaitre ce69f90b6a
feat: make it all work without an active lsp client 2022-09-09 23:24:43 +02:00
Folke Lemaitre 58422942eb
feat: properly setup sumenko to include generated lsp server settings 2022-09-09 18:03:03 +02:00
Folke Lemaitre d824affc44
feat: added sumneko annotations for lsp server settings! 2022-09-09 18:02:38 +02:00
Folke Lemaitre 40c894af26
refactor: moved some stuff under build 2022-09-09 18:01:00 +02:00
Folke Lemaitre 045585e102
feat: custom build for sumneko schema to include language translations for descriptions 2022-09-09 11:05:42 +02:00
Folke Lemaitre 16d8f906dd
feat: improved lsp schema building and loading 2022-09-09 10:32:16 +02:00
Folke Lemaitre 7aa4048ed7
feat: added proper Settings command 2022-09-08 15:06:11 +02:00
Folke Lemaitre 7d33bb851e
refactor: renamed to settings.nvim 2022-09-08 13:19:48 +02:00
Folke Lemaitre f51b7aac58
feat: add plugin generated json schemas to jsonls 2022-09-08 13:12:39 +02:00
Folke Lemaitre 89f459fc2e
feat: simple method to generate a json schema based on a lua table 2022-09-08 13:12:24 +02:00
Folke Lemaitre d71e54e9cb
feat: easy getter to get settings 2022-09-08 12:24:43 +02:00
Folke Lemaitre 200c6fa936
feat: only apply configuration when it actually changed 2022-09-08 11:58:35 +02:00
Folke Lemaitre 2d205f4419
fix: clear settings on update 2022-09-08 11:57:39 +02:00
Folke Lemaitre 0f14609af5
feat: added autocmd to trigger reload and user command Settings 2022-09-08 11:53:09 +02:00
Folke Lemaitre 24637ddc0e
feat: moved jsonls and lsp to its own plugin 2022-09-08 11:52:46 +02:00
Folke Lemaitre be31d39559
refactor: added easy getters for local, global and merged settings 2022-09-08 10:26:46 +02:00
Folke Lemaitre c8a42cdf49
refactor: allow multiple global settings files 2022-09-08 09:39:48 +02:00
Folke Lemaitre 483adc2102
refactor: config.global_settings is always one file 2022-09-08 08:45:39 +02:00
Folke Lemaitre 689dafa90d
feat: helper method to detect root_dir for buffers without attached lsp clients 2022-09-08 08:44:54 +02:00
Folke Lemaitre c67efcf205
feat: read schemas from json file instead of generated lua packages 2022-09-07 22:27:37 +02:00
Folke Lemaitre b808c26eaf
feat: added live-reloading of LSP server configs 2022-09-07 21:12:59 +02:00
Folke Lemaitre eff7473db4
feat: added method to clear cached settings for a given file 2022-09-07 21:12:59 +02:00
Folke Lemaitre 6e4d994455
feat: added markdown support to logging methods 2022-09-07 21:12:59 +02:00
Folke Lemaitre 6e3ed46b11
feat: added LspSettings command to show lsp settings for the current buffer 2022-09-07 18:13:32 +02:00
Folke Lemaitre a92f091809
feat: hooks for lspconfig and jsonls 2022-09-07 18:13:07 +02:00
Folke Lemaitre 3a19ef12c5
feat: top-level config and api 2022-09-07 18:12:52 +02:00
Folke Lemaitre 567f664ed6
feat: json strip comments 2022-09-07 18:12:37 +02:00
Folke Lemaitre 972a7aa1ee
build: auto-generated schema doc urls 2022-09-07 18:12:27 +02:00
Folke Lemaitre f8721c851f
feat: class to work with settings 2022-09-07 18:12:06 +02:00
Folke Lemaitre d9b25d6bf6
feat: build class to generate json schemas 2022-09-07 18:11:33 +02:00
Folke Lemaitre bc65c64ceb
feat: util class 2022-09-07 18:11:14 +02:00