Skip to content

Commit

Permalink
docs: update readme to use luals 3rd library for luv
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 24, 2024
1 parent d580089 commit f125453
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,10 @@ return {
library = {
-- See the configuration section for more details
-- Load luvit types when the `vim.uv` word is found
{ path = "luvit-meta/library", words = { "vim%.uv" } },
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
},
},
},
{ "Bilal2453/luvit-meta", lazy = true }, -- optional `vim.uv` typings
{ -- optional cmp completion source for require statements and module annotations
"hrsh7th/nvim-cmp",
opts = function(_, opts)
Expand Down Expand Up @@ -103,10 +102,9 @@ Examples:
"~/projects/my-awesome-lib",
-- Or relative, which means they will be resolved from the plugin dir.
"lazy.nvim",
"luvit-meta/library",
-- It can also be a table with trigger words / mods
-- Only load luvit types when the `vim.uv` word is found
{ path = "luvit-meta/library", words = { "vim%.uv" } },
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
-- always load the LazyVim library
"LazyVim",
-- Only load the lazyvim library when the `LazyVim` global is found
Expand Down

0 comments on commit f125453

Please sign in to comment.