Commit Graph

955 Commits

Author SHA1 Message Date
github-actions[bot] 749744b5cd chore(build): auto-generate vimdoc, schemas and annotations 2025-03-12 01:30:19 +00:00
github-actions[bot] 746fe7006b chore(build): auto-generate vimdoc, schemas and annotations 2025-03-08 01:28:19 +00:00
github-actions[bot] c215518f96 chore(build): auto-generate vimdoc, schemas and annotations 2025-03-06 01:30:34 +00:00
github-actions[bot] 040689925e chore(build): auto-generate vimdoc, schemas and annotations 2025-03-05 01:30:32 +00:00
github-actions[bot] c8f1fe49b8 chore(build): auto-generate vimdoc, schemas and annotations 2025-03-04 01:30:36 +00:00
github-actions[bot] de6ee524f9 chore(build): auto-generate vimdoc, schemas and annotations 2025-03-03 01:30:36 +00:00
github-actions[bot] 6a90efb72c chore(build): auto-generate vimdoc, schemas and annotations 2025-03-02 01:30:31 +00:00
github-actions[bot] 21483cfdde chore(build): auto-generate vimdoc, schemas and annotations 2025-02-28 01:30:26 +00:00
folke 33c041ab51 chore(build): auto-generate docs 2025-02-27 07:54:46 +00:00
Micah Halter 5cff548d38
fix(lspconfig): add hook before and not after (#92)
## Description
A common use of `on_new_config` is to construct the `cmd` for starting
language servers based on the configuration. These language servers
require that the settings are finalized before it is run. It looks like
previous commits did use `add_hook_before` for the `lspconfig`
integration but it got moved to being `add_hook_after` when centralizing
it with the `lua_ls` and `jsonls` plugin integrations. We should revert
this back to `add_hook_before` so that the existing `on_new_config`
functions continue working.
2025-02-27 08:53:52 +01:00
github-actions[bot] 87f703a298 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-27 01:30:37 +00:00
github-actions[bot] 9cc9425be8 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-25 01:30:18 +00:00
github-actions[bot] a1b6400f00 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-24 01:30:35 +00:00
github-actions[bot] 37e192a418 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-22 01:29:51 +00:00
github-actions[bot] ea0b766fd1 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-21 01:30:22 +00:00
github-actions[bot] 443b1311d5 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-20 01:30:26 +00:00
github-actions[bot] 98a29e6423 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-18 01:30:07 +00:00
github-actions[bot] 7c4427112d chore(build): auto-generate vimdoc, schemas and annotations 2025-02-17 01:30:22 +00:00
github-actions[bot] 05c75995d0 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-15 01:30:00 +00:00
github-actions[bot] d0f2fc2c67 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-13 01:30:06 +00:00
github-actions[bot] d633bd6317 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-12 01:30:04 +00:00
github-actions[bot] a47fa06b62 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-11 01:29:59 +00:00
github-actions[bot] fcebf3bd68 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-09 01:30:07 +00:00
github-actions[bot] b9efcf6dda chore(build): auto-generate vimdoc, schemas and annotations 2025-02-08 01:30:01 +00:00
github-actions[bot] 21e8dc1b20 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-07 01:30:12 +00:00
github-actions[bot] 06cc0d3802 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-06 01:30:21 +00:00
github-actions[bot] 95b46f16b7 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-05 01:30:14 +00:00
github-actions[bot] b8ea8a1fe1 chore(build): auto-generate vimdoc, schemas and annotations 2025-02-04 01:30:06 +00:00
github-actions[bot] 12856e5d2e chore(build): auto-generate vimdoc, schemas and annotations 2025-02-03 01:30:12 +00:00
github-actions[bot] ddd37d70db chore(build): auto-generate vimdoc, schemas and annotations 2025-01-29 01:30:20 +00:00
folke 31e949f5a6 chore(build): auto-generate docs 2025-01-28 07:29:12 +00:00
Chaz 92c1a48a2d
fix(lspconfig): revert `_available_servers` (#108)
## Description

Reverts #105.

[neovim/nvim-lspconfig - PR
#3589](https://github.com/neovim/nvim-lspconfig/pull/3589) reverts
`_available_servers` back to `available_servers`.

## Related Issue(s)

Fixes #107.

## Screenshots

NA
2025-01-28 08:28:05 +01:00
github-actions[bot] a4d1d337e2 chore(build): auto-generate vimdoc, schemas and annotations 2025-01-26 01:30:07 +00:00
github-actions[bot] e7182ba9ae chore(build): auto-generate vimdoc, schemas and annotations 2025-01-25 01:29:43 +00:00
folke 7cba189d71 chore(build): auto-generate docs 2025-01-24 05:45:57 +00:00
github-actions[bot] 054c602dcf
chore(main): release 1.4.0 (#94)
🤖 I have created a release *beep* *boop*
---


##
[1.4.0](https://github.com/folke/neoconf.nvim/compare/v1.3.3...v1.4.0)
(2025-01-22)


### Features

* **sonarlint:** add sonarlint to schemas
([#95](https://github.com/folke/neoconf.nvim/issues/95))
([593fa6b](593fa6b71a))
* **typst:** add typst_lsp and tinymist
([#93](https://github.com/folke/neoconf.nvim/issues/93))
([e901bc6](e901bc61d8))


### Bug Fixes

* **health:** lazydev.nvim instead of neodev.nvim
([#96](https://github.com/folke/neoconf.nvim/issues/96))
([605cf4f](605cf4f9aa))
* **lspconfig:** use `_available_servers` in health.lua
([#105](https://github.com/folke/neoconf.nvim/issues/105))
([f25f676](f25f676e1c))
* **util:** update deprecated methods
([#106](https://github.com/folke/neoconf.nvim/issues/106))
([9f73ae6](9f73ae6aa6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-24 06:45:03 +01:00
github-actions[bot] 08506584b6 chore(build): auto-generate vimdoc, schemas and annotations 2025-01-23 01:30:01 +00:00
Zhou Fang 9f73ae6aa6
fix(util): update deprecated methods (#106)
## Description

After updating lspconfig, there is an error when I tried to open
`neoconf.json`.

The reason is that `lspconfig.util.available_servers` has been renamed
to `lspconfig.util._available_servers`.
([link](e118ce58da))

I fixed the issue and also update the deprecated code which is also come
from lspconfig.util
([details](0e234f4cad/lua/lspconfig/util.lua (L359-L362)))

<details>
<summary>error detail</summary>

```
  Error  22:01:18 notify.error settings.nvim Failed to run client.before_init for settings/plugins/jsonls
....local/share/nvim/lazy/neoconf.nvim/lua/neoconf/util.lua:36: attempt to call field 'available_servers' (a nil value)

stack traceback:
	...nvim/lazy/neoconf.nvim/lua/neoconf/plugins/lspconfig.lua:14: in function <...nvim/lazy/neoconf.nvim/lua/neoconf/plugins/lspconfig.lua:8>
	...hare/nvim/lazy/neoconf.nvim/lua/neoconf/plugins/init.lua:14: in function 'fire'
	...hare/nvim/lazy/neoconf.nvim/lua/neoconf/plugins/init.lua:20: in function 'fire'
	...ocal/share/nvim/lazy/neoconf.nvim/lua/neoconf/schema.lua:45: in function 'get'
	...re/nvim/lazy/neoconf.nvim/lua/neoconf/plugins/jsonls.lua:22: in function 'on_config'
	....local/share/nvim/lazy/neoconf.nvim/lua/neoconf/util.lua:49: in function <....local/share/nvim/lazy/neoconf.nvim/lua/neoconf/util.lua:48>
	[C]: in function 'func'
	...al/share/nvim/lazy/nvim-lspconfig/lua/lspconfig/util.lua:53: in function <...al/share/nvim/lazy/nvim-lspconfig/lua/lspconfig/util.lua:51>
	[C]: in function 'pcall'
	...share/nvim/lazy/nvim-lspconfig/lua/lspconfig/configs.lua:217: in function 'make_config'
	...share/nvim/lazy/nvim-lspconfig/lua/lspconfig/manager.lua:160: in function 'add'
	...share/nvim/lazy/nvim-lspconfig/lua/lspconfig/manager.lua:220: in function <...share/nvim/lazy/nvim-lspconfig/lua/lspconfig/manager.lua:207>
	[C]: in function 'pcall'
	...l/share/nvim/lazy/nvim-lspconfig/lua/lspconfig/async.lua:5: in function <...l/share/nvim/lazy/nvim-lspconfig/lua/lspconfig/async.lua:4>
 ```

</details>

## Related Issue(s)

## Screenshots

![image](https://github.com/user-attachments/assets/956a59ff-1767-456a-a0bb-6ccf41d8a4bc)
2025-01-22 14:39:55 +01:00
Vincent Law 8f8a0ac9d5
docs(README): config files renamed from .nvim.settings.json to .neoco… (#102)
## Description

The file name in README does not match, since
<762b2f1517>

Co-authored-by: luowentao <luowentao@meituan.com>
2025-01-22 08:52:27 +01:00
folke e2c4e8145e chore(build): auto-generate docs 2025-01-22 07:33:33 +00:00
leoatchina f25f676e1c
fix(lspconfig): use `_available_servers` in health.lua (#105)
according to
e118ce58da

## Description

<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->
fixed _available_servers is nil bug.

## Related Issue(s)
https://github.com/folke/neoconf.nvim/issues/104
<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->
2025-01-22 08:32:28 +01:00
github-actions[bot] 78d8e31c3d chore(build): auto-generate vimdoc, schemas and annotations 2025-01-22 01:30:06 +00:00
github-actions[bot] 74fd586ffa chore(build): auto-generate vimdoc, schemas and annotations 2025-01-21 01:29:54 +00:00
github-actions[bot] 638216aa87 chore(build): auto-generate vimdoc, schemas and annotations 2025-01-17 01:29:55 +00:00
github-actions[bot] d7e408b03a chore(build): auto-generate vimdoc, schemas and annotations 2025-01-16 01:30:05 +00:00
github-actions[bot] 3262e64612 chore(build): auto-generate vimdoc, schemas and annotations 2025-01-15 01:29:55 +00:00
github-actions[bot] 82fc98b05a chore(build): auto-generate vimdoc, schemas and annotations 2025-01-14 01:29:57 +00:00
github-actions[bot] 9aefba9244 chore(build): auto-generate vimdoc, schemas and annotations 2025-01-12 01:30:35 +00:00
github-actions[bot] d18a4535e0 chore(build): auto-generate vimdoc, schemas and annotations 2025-01-11 01:30:02 +00:00
github-actions[bot] 623beb6fc2 chore(build): auto-generate vimdoc, schemas and annotations 2025-01-10 01:30:24 +00:00