All Projects → hrsh7th → cmp-path

hrsh7th / cmp-path

Licence: MIT License
nvim-cmp source for path

Programming Languages

lua
6591 projects

Labels

Projects that are alternatives of or similar to cmp-path

cmp-skkeleton
skkeleton source for nvim-cmp
Stars: ✭ 12 (-91.24%)
Mutual labels:  nvim-cmp
cmp-nvim-ultisnips
nvim-cmp source for ultisnips
Stars: ✭ 61 (-55.47%)
Mutual labels:  nvim-cmp
cmp-nvim-lsp-document-symbol
nvim-cmp source for textDocument/documentSymbol via nvim-lsp.
Stars: ✭ 88 (-35.77%)
Mutual labels:  nvim-cmp
cmp-rg
ripgrep source for nvim-cmp
Stars: ✭ 165 (+20.44%)
Mutual labels:  nvim-cmp
crates.nvim
A neovim plugin that helps managing crates.io dependencies
Stars: ✭ 252 (+83.94%)
Mutual labels:  nvim-cmp
cmp-spell
spell source for nvim-cmp based on vim's spellsuggest.
Stars: ✭ 99 (-27.74%)
Mutual labels:  nvim-cmp
cmp luasnip
luasnip completion source for nvim-cmp
Stars: ✭ 290 (+111.68%)
Mutual labels:  nvim-cmp
nvim-cmp
A completion plugin for neovim coded in Lua.
Stars: ✭ 4,534 (+3209.49%)
Mutual labels:  nvim-cmp
cmp-emoji
nvim-cmp source for emoji
Stars: ✭ 99 (-27.74%)
Mutual labels:  nvim-cmp
cmp-latex-symbols
Add latex symbol support for nvim-cmp.
Stars: ✭ 82 (-40.15%)
Mutual labels:  nvim-cmp
nvim
Structure, documented, super fast neovim configuration. 可能是翻斗花园最好用的 neovim 配置[^1]。
Stars: ✭ 223 (+62.77%)
Mutual labels:  nvim-cmp
cmp-tmux
Tmux completion source for nvim-cmp and nvim-compe
Stars: ✭ 98 (-28.47%)
Mutual labels:  nvim-cmp
nvim-fennel-lsp-conjure-as-clojure-ide
Basic config to transform your NVIM in a powerful Clojure IDE using fennel, clojure-lsp and conjure.
Stars: ✭ 144 (+5.11%)
Mutual labels:  nvim-cmp
cmp-vsnip
nvim-cmp source for vim-vsnip
Stars: ✭ 70 (-48.91%)
Mutual labels:  nvim-cmp
cmp-dictionary
nvim-cmp source for dictionary.
Stars: ✭ 60 (-56.2%)
Mutual labels:  nvim-cmp
cmp-under-comparator
nvim-cmp comparator function for completion items that start with one or more underlines
Stars: ✭ 77 (-43.8%)
Mutual labels:  nvim-cmp
cmp-treesitter
cmp source for treesitter
Stars: ✭ 69 (-49.64%)
Mutual labels:  nvim-cmp

cmp-path

nvim-cmp source for filesystem paths.

Setup

require'cmp'.setup {
  sources = {
    { name = 'path' }
  }
}

Configuration

The below source configuration options are available. To set any of these options, do:

cmp.setup({
  sources = {
    {
      name = 'path',
      option = {
        -- Options go into this table
      },
    },
  },
})

trailing_slash (type: boolean)

Default: false

Specify if completed directory names should include a trailing slash. Enabling this option makes this source behave like Vim's built-in path completion.

get_cwd (type: function)

Default: returns the current working directory of the current buffer

Specifies the base directory for relative paths.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].