Skip to content

Commit

Permalink
Always load fzf extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Shatur committed May 18, 2022
1 parent 0cc1a3f commit 8c44b31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
```bash
git clone --recursive git@github.com:Shatur95/neovim-config.git ~/.config/nvim
cd ~/.config/nvim/pack/plugins/start/telescope-fzf-native.nvim
make
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build
```

**Windows**

```bash
git clone --recursive git@github.com:Shatur95/neovim-config.git $env:LOCALAPPDATA/nvim
cd $env:LOCALAPPDATA/nvim/pack/plugins/start/telescope-fzf-native.nvim
make
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build
```

### Dependencies
Expand Down
2 changes: 1 addition & 1 deletion plugin/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ telescope.setup({
telescope.load_extension('dap')
telescope.load_extension('live_grep_raw')
telescope.load_extension('notify')
pcall(telescope.load_extension, 'fzf') -- Load only if compiled
telescope.load_extension('fzf')

vim.keymap.set('n', 'z=', telescope_builtin.spell_suggest, { noremap = true })
vim.keymap.set({ '', 't', 'i' }, '<S-CR>', telescope_builtin.commands, { noremap = true })
Expand Down

0 comments on commit 8c44b31

Please sign in to comment.