Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Flake command #103

Merged
merged 1 commit into from Aug 16, 2022
Merged

Add Flake command #103

merged 1 commit into from Aug 16, 2022

Conversation

EmilyGraceSeville7cf
Copy link
Contributor

@nvie, please check this PR. It closes #75 issue. I don't know VimScript but this command declaration seems to work in my ~/.vimrc:

set number relativenumber
set background=light

call plug#begin()
Plug 'davidhalter/jedi-vim'
Plug 'nvie/vim-flake8'
Plug 'itspriddle/vim-shellcheck'
Plug 'alx741/vinfo'
Plug 'morhetz/gruvbox'
call plug#end()

if (empty($TMUX))
  if (has("nvim"))
    "For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
    let $NVIM_TUI_ENABLE_TRUE_COLOR=1
  endif
  "For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
  "Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
  " < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
  if (has("termguicolors"))
    set termguicolors
  endif
endif

colorscheme gruvbox
command! Flake :call flake8#Flake8()

@nvie
Copy link
Owner

nvie commented Aug 16, 2022

Amazing, thanks so much, @EmilySeville7cfg!

@nvie nvie merged commit 03316ea into nvie:master Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

:flake8 command instead of <F7> key
2 participants