Commit Graph

11 Commits

Author SHA1 Message Date
Folke Lemaitre e0835bdc1a
fix: normalize paths. Fixes #33 2024-07-07 05:41:25 +02:00
Folke Lemaitre 245bb871b2
fix(commands): checkhealth. Fixes #29 2024-07-07 00:21:25 +02:00
Will Hopkins 983a93b2b6
fix(deprecation): remove use of deprecated API functions (#59)
Removes usage of several deprecated API functions, and changes all uses
of `vim.loop` to `vim.uv`.

Now that 0.10 is released, several functions used here have been
deprecated and show warnings when they're first called.

I've updated:
- `lsp.get_active_clients()` -> `lsp.get_clients()`
- `api.nvim_buf_set_option` -> `api.nvim_set_option_value` with
buf-local scope
- `api.nvim_win_set_option` -> `api.nvim_set_option_value` with
window-local scope
- `vim.tbl_flatten` -> `vim.iter(t):flatten():totable()`
- `vim.loop.*` -> `vim.uv.*`
- `vim.islist or vim.tbl_islist` -> `vim.islist`

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-07-06 23:58:43 +02:00
Folke Lemaitre ba191d88af
style: format 2024-07-05 15:41:26 +02:00
Bryan Forbes ea175a511d
fix(jsonls): use `vim.filetype.add()` to set the filetype for neoconf.json (#25) 2023-04-17 08:23:51 +02:00
Folke Lemaitre 5feed54641
fix(icons): fixed obsolete icons with nerdfix 2023-03-26 12:34:06 +02:00
Folke Lemaitre 97e73e017a
fix: commands 2022-10-11 23:35:14 +02:00
Folke Lemaitre 139cbbfc49
fix: renamed command from Settings to Neoconf 2022-09-21 22:08:34 +02:00
Folke Lemaitre a2f83e40a9
fix: don't use filetype API. Use autocmd instead to make it work on 0.7.2 as well 2022-09-18 22:08:31 +02:00
Folke Lemaitre eb2bdbf10f
fix: fix file_patterns for autocmd BufWritePost 2022-09-18 22:08:31 +02:00
Folke Lemaitre 8a275c6cee
refactor: changed module name from nvim-settings to neoconf 2022-09-17 18:01:54 +02:00