From 82bba662a760237df58b3ac897a5e2689d3a3ca6 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 13 Jan 2022 21:12:37 +0100 Subject: [PATCH] move options to actual plugin scope --- neovim/.config/nvim/init.vim | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index c35302a..632dc97 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -3,8 +3,6 @@ if ($TERM=~"xterm-256color" || $TERM=~"screen-256color") || exists('g:GtkGuiLoad Plug 'cloudhead/neovim-fuzzy' Plug 'mhinz/vim-signify' Plug 'overcache/NeoSolarized' - - " language plugins Plug 'LnL7/vim-nix' Plug 'neovimhaskell/haskell-vim' call plug#end() @@ -13,6 +11,11 @@ if ($TERM=~"xterm-256color" || $TERM=~"screen-256color") || exists('g:GtkGuiLoad set background=light set termguicolors + " https://github.com/cloudhead/neovim-fuzzy/issues/50 + let g:fuzzy_rootcmds = [["git", "rev-parse", "--show-toplevel"]] + + map :FuzzyOpen + if exists('g:GtkGuiLoaded') call rpcnotify(1, 'Gui', 'Font', 'Fantasque Sans Mono 13') endif @@ -22,9 +25,6 @@ filetype plugin indent on let g:markdown_fenced_languages = ['python', 'bash=sh', 'go', 'c', 'cpp', 'yaml', 'json', 'sql', 'haskell'] -" https://github.com/cloudhead/neovim-fuzzy/issues/50 -let g:fuzzy_rootcmds = [["git", "rev-parse", "--show-toplevel"]] - set autoindent set autoread set autowrite @@ -58,8 +58,6 @@ nnoremap :nohls nnoremap gB :bp nnoremap gb :bn -map :FuzzyOpen - "noremap p p`[ "noremap P P`[