neoconf.nvim/lua/neoconf/plugins
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
..
init.lua refactor: sumneko -> lua_ls 2023-02-12 11:12:18 +01:00
jsonls.lua style: format 2024-07-05 15:41:26 +02:00
lspconfig.lua fix(deprecation): remove use of deprecated API functions (#59) 2024-07-06 23:58:43 +02:00
lua_ls.lua style: format 2024-07-05 15:41:26 +02:00