Commit Graph
36 Commits
Author SHA1 Message Date
Gaetan Lepage 0f1c0bda6d plugins/nvim-cmp: fix example for mappings option 2024-01-08 13:28:15 +01:00
traxys af41ea2d80 helpers: move rawType to helpers.nixvimTypes (#871)
This is done in preparation of adding new (lua) types to help the
documentation.
2024-01-01 23:33:53 +01:00
Gaetan Lepage 1057ef93e3 plugins/codeium-nvim: init 2024-01-01 23:13:47 +01:00
traxys 1d8e7906c9 plugins: Introduce helpers.defaultNullOpts.mkLuaFn (#855)
This allows to avoid calling `mkRaw` on lua functions, as they will get
applied automatically.

This could also help in the future to refactor the use of Lua code to
make it more user-friendly.
2023-12-29 15:24:42 +01:00
Gaetan Lepage 19f39c3b1b plugins: swith to the new behaviour of mkRaw 2023-11-23 11:39:41 +01:00
Gaetan Lepage b6724702b4 misc: refactor imports, prefer adding helpers to args rather than importing it 2023-11-06 16:33:39 +01:00
Gaetan Lepage 26626aa1b1 plugins/nvim-cmp: allow users to provide a 'listOf listOf sources' 2023-08-28 17:07:57 +02:00
traxys 2e7137058d plugins/nvim-cmp: Correctly handle multi mode mappings (#537)
Fixes #536
2023-08-23 18:18:05 +02:00
Gaetan Lepage 02a0093468 plugins/nvim-cmp: refactoring 2023-08-23 11:12:50 +02:00
Wolbyte ecd593386f docs: New documentation using mdbook (#471)
* docs: mdbook init

* Separate sub-options into their section

* docs: enable fold

* docs: merge core options into a single section

* doc generation: fix submodules index pages

* docs: add contributing section

* docs: rename 'core' group to 'Neovim Options'

docs: removed the index pages of empty sections

docs: remove obsolete 'mergeFunctionResults' function

* docs: use nix syntax highlighting

* docs: point to the new repo url

* docs: use recursive generation
docs: split submodules into subsections

* docs: fix contributing separator
docs: fix missing submodules docs
2023-08-07 11:48:01 +02:00
Wolbyte 600cd12057 helpers.defaultNullOpts: add mkBorder 2023-06-26 14:01:18 +02:00
Gaetan Lepage 0c0c3b2d9d plugins/nvim-cmp,copilot-cmp: change plugin for copilot completion source 2023-06-22 10:34:36 +02:00
Gaetan Lepage 520e1804e4 plugins/nvim-cmp: fix crates-nvim source plugin 2023-06-14 13:28:46 +02:00
Gaetan Lepage 8338cf146f plugins/nvim-cmp: update options 2023-05-26 22:47:14 +02:00
Gaétan Lepage fe581914ba plugins/nvim-cmp: fix window.completion bug (#385) 2023-05-25 15:16:13 +01:00
Tanish2002 efdcbe225f perform some statix linting and fixes 2023-05-22 23:00:53 +02:00
Thomas Christensen 5d2dbc40a6 plugins/nvim-cmp: do not pass in enabled = true (#324)
Since this means cmp is active in prompts, e.g. telescope

https://www.reddit.com/r/neovim/comments/vtw4vl/disable_nvimcmp_in_telescopes_buffer/
2023-04-07 22:39:37 +02:00
Gaétan Lepage c34c941c8f plugins/nvim-cmp: add enum type for option snippet.expand (#244) 2023-03-12 22:31:32 +01:00
Gaétan Lepage bfbe737aa3 plugins/nvim-cmp: refactor + tests (#237) 2023-03-12 18:52:02 +01:00
Babeuh e643bcd5d0 fix: nvim-cmp: missing "helpers." in "helpers.mkRaw" (#229) 2023-03-08 09:21:49 +01:00
Gaétan Lepage ff4292f2be plugins/completion/nvim-cmp: add extraOptions option for the cmp-tabnine plugin (#180) 2023-02-23 00:32:55 +01:00
Gaétan LepageandPedro Alves bb3721e92d nvim-lsp: added nvim-cmp completion capabilities (#158)
Co-authored-by: Pedro Alves <pta2002@pta2002.com>
2023-02-20 16:32:05 +00:00
Gaétan Lepage 264de8cefb added formatter + reformat existing codebase (#175) 2023-02-20 10:42:13 +00:00
Gaétan Lepage c73bef16ab helpers: add mkPackageOption + refactoring (#144) (#150) 2023-01-25 18:46:49 +00:00
Pedro Alves 2d54272177 Revert "helpers: add mkPackageOption + refactoring (#144)" (#149)
This reverts commit b724085447.
2023-01-25 00:03:26 +00:00
Gaétan Lepage b724085447 helpers: add mkPackageOption + refactoring (#144) 2023-01-24 23:59:06 +00:00
Pedro Alves 238f0c590e misc: fix mkEnableOption descriptions 2023-01-22 03:32:08 +00:00
Gaétan Lepage 7a2f063f07 plugins/completion/nvim-cmp: add missing tpe of option "auto_enable_sources" (#119) 2023-01-21 17:12:32 +00:00
Alexander Nortung 3f9effc575 general: add package options (#127)
* barbar: package option

* Base16: package option

* gruvbox: package option

* nord: package option

* one: package option

* onedark: package option

* tokyonight: package option

* nvim-cmp: package option

* coq: package option

* lspkind: package option

* helpers: added package option to mkPlugin

* fugitive: package option

* gitgutter: package option

* gitsigns: package option

* neogit: package option

* ledger: package option

* nix: package option

* plantuml-syntax: package option

* treesitter-context: package option + formatting

* treesitter-refactor: package option + formatting

* treesitter: package option

* zig: package option

* null-ls: package option

* null-ls/servers: package option

* lsp-lines: package option

* lspsaga: package option

* trouble: package option

* luasnip: added description for package option

* airline: package option

* lightline: package option

* lualine: package option

* telescope: package option

* telescope/frecency: package option

* telescope/fzf-native: package option

* telescope/media-files: package option

* comment-nvim: package option

* vim-commentary: package option

* dashboard: package option

* easyescape: package option

* emmet: package option

* endwise: package option

* floaterm: package option

* goyo: package option

* intellitab: package option

* mark-radar: package option

* notify: package option

* nvim-autopairs: package option

* nvim-tree: package option

* project-nvim: package option

* specs: package option

* startify: package option

* surround: package option

* undotree: package option
2023-01-19 10:45:15 +00:00
Pedro Alves ac6deb4e95 nvim-cmp: refactor window options 2022-11-13 14:29:15 +00:00
Pedro Alves e2ffc64e68 nvim-cmp: fix window options 2022-11-13 14:14:33 +00:00
Pedro Alves 7992526721 nvim-cmp: add extra window options 2022-11-13 14:13:00 +00:00
Alexander NortungandPedro Alves 76b915937e New wrapDo helper and wrapping nvim-cmp in do ... end (#53)
* added wrapDo helper

* nvim-cmp: wrapped with do

Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2022-10-25 00:17:02 +01:00
Pedro Alves 4ddd3969e5 nixvim: support standalone nixvim
This represents a major rearchitecture for nixvim, so I'm leaving this up to track the progress for now, and to serve as a reference for any breaking changes during transition.

The main change is, of course, being able to use nixvim standalone. To do this, you should use the new build function, which takes in two arguments: the system architecture (e.g. x86_64-linux) and the configuration. For the new configuration, do not use the programs.nixvim. prefix.

For module development, the main change is that you should no longer prefix your modules with programs.nixvim..
2022-09-18 11:19:23 +01:00
Pedro Alves 70dd3446fb nvim-cmp: fix snippet not being able to be null 2022-08-05 15:01:10 +01:00
Alexander Nortung f12a79bda6 Adding nvim-cmp plugin (#25)
* started adding nvim-cmp

* nvim-cmp: added snippet option

* nvim-cmp: added mapping option

* nvim-cmp: added completion option

* nvim-cmp: added confirmation config option

* nvim-cmp: added formatting options

* nvim-cmp: added matching option

* nvim-cmp: added sorting option

* nvim-cmp: added sources option

* nvim-cmp: added a bunch of sources

* nvim-cmp: auto enabling cmp source plugins should mostly work now

* nvim-cmp: added view option

* nvim_cmp: added window option

* nvim-cmp: added experimental option

* nvim-cmp: mappingPresets now works
2022-07-28 20:38:38 +01:00