From: AJ ONeal Date: Sat, 4 Jul 2020 08:30:53 +0000 (+0000) Subject: fix typos X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=5fcebb78a1cb578759ed153b14180ffba2600290;p=webi-installers%2F.git fix typos --- diff --git a/vim-go/README.md b/vim-go/README.md index ebabbd2..c8c5ac5 100644 --- a/vim-go/README.md +++ b/vim-go/README.md @@ -6,7 +6,7 @@ tagline: | description: | `vim-go` provides integration with various official and 3rd part go tooling for linting, vetting, etc. - You'll also need `syntastic` or similar. + You'll also need `ALE`, `syntastic`, or similar. --- ### How to install by hand diff --git a/vim-synstastic/README.md b/vim-synstastic/README.md deleted file mode 100644 index 4c593be..0000000 --- a/vim-synstastic/README.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: vim-syntastic -homepage: https://github.com/vim-syntastic/syntastic -tagline: | - Syntastic runs files through external syntax checkers and displays any resulting errors to the user. -description: | - vim-syntastic has been superseded by [ALE](https://github.com/dense-analysis/ale), but it lives on in my heart, my `.vim`, and my `.vimrc`. ---- - -### How to install manually - -```bash -git clone --depth=1 https://github.com/vim-syntastic/syntastic.git ~/.vim/pack/plugins/start/vim-syntastic -``` - -### How to configure in `.vimrc` - -`.vimrc`: - -```txt -" manually set plugin to use bash - not zsh, fish, etc -set shell=bash - -" add this if packages don't load automatically -" or remove it otherwise -packloadall - -" turn on the systax checker -syntax on - -" don't check syntax immediately on open or on quit -let g:syntastic_check_on_open = 1 -let g:syntastic_check_on_wq = 0 -``` - -### How to configure language-specific linters - -```txt -let g:syntastic_javascript_checkers = ['jshint'] -let g:syntastic_go_checkers = ['go', 'golint', 'errcheck'] -``` diff --git a/vim-synstastic/install.ps1 b/vim-synstastic/install.ps1 deleted file mode 100644 index 41cee14..0000000 --- a/vim-synstastic/install.ps1 +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env pwsh - -IF (!(Test-Path -Path "$Env:USERPROFILE\.vim\pack\plugins\start")) { - New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory -} -Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-syntastic" -Recurse -ErrorAction Ignore -& git clone --depth=1 https://github.com/vim-syntastic/syntastic.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-syntastic" diff --git a/vim-synstastic/install.sh b/vim-synstastic/install.sh deleted file mode 100644 index 374beb7..0000000 --- a/vim-synstastic/install.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -{ - set -e - set -u - - mkdir -p "$HOME/.vim/pack/plugins/start" - rm -rf "$HOME/.vim/pack/plugins/start/vim-syntastic" - git clone --depth=1 https://github.com/vim-syntastic/syntastic.git "$HOME/.vim/pack/plugins/start/vim-syntastic" -} diff --git a/vim-syntastic/README.md b/vim-syntastic/README.md new file mode 100644 index 0000000..f1a84f1 --- /dev/null +++ b/vim-syntastic/README.md @@ -0,0 +1,41 @@ +--- +title: vim-syntastic +homepage: https://github.com/vim-syntastic/syntastic +tagline: | + Syntastic runs files through external syntax checkers and displays any resulting errors to the user. +description: | + vim-syntastic has been superseded by [ALE](https://github.com/dense-analysis/ale), but it lives on in my heart, my `.vim`, and my `.vimrc`. +--- + +### How to install manually + +```bash +git clone --depth=1 https://github.com/vim-syntastic/syntastic.git ~/.vim/pack/plugins/start/vim-syntastic +``` + +### How to configure in `.vimrc` + +`.vimrc`: + +```txt +" manually set plugin to use bash - not zsh, fish, etc +set shell=bash + +" add this if packages don't load automatically +" or remove it otherwise +packloadall + +" turn on the syntax checker +syntax on + +" don't check syntax immediately on open or on quit +let g:syntastic_check_on_open = 1 +let g:syntastic_check_on_wq = 0 +``` + +### How to configure language-specific linters + +```txt +let g:syntastic_javascript_checkers = ['jshint'] +let g:syntastic_go_checkers = ['go', 'golint', 'errcheck'] +``` diff --git a/vim-syntastic/install.ps1 b/vim-syntastic/install.ps1 new file mode 100644 index 0000000..41cee14 --- /dev/null +++ b/vim-syntastic/install.ps1 @@ -0,0 +1,7 @@ +#!/usr/bin/env pwsh + +IF (!(Test-Path -Path "$Env:USERPROFILE\.vim\pack\plugins\start")) { + New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory +} +Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-syntastic" -Recurse -ErrorAction Ignore +& git clone --depth=1 https://github.com/vim-syntastic/syntastic.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-syntastic" diff --git a/vim-syntastic/install.sh b/vim-syntastic/install.sh new file mode 100644 index 0000000..374beb7 --- /dev/null +++ b/vim-syntastic/install.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +{ + set -e + set -u + + mkdir -p "$HOME/.vim/pack/plugins/start" + rm -rf "$HOME/.vim/pack/plugins/start/vim-syntastic" + git clone --depth=1 https://github.com/vim-syntastic/syntastic.git "$HOME/.vim/pack/plugins/start/vim-syntastic" +}