fix typos
authorAJ ONeal <aj@therootcompany.com>
Sat, 4 Jul 2020 08:30:53 +0000 (08:30 +0000)
committerAJ ONeal <aj@therootcompany.com>
Sat, 4 Jul 2020 08:30:53 +0000 (08:30 +0000)
vim-go/README.md
vim-synstastic/README.md [deleted file]
vim-synstastic/install.ps1 [deleted file]
vim-synstastic/install.sh [deleted file]
vim-syntastic/README.md [new file with mode: 0644]
vim-syntastic/install.ps1 [new file with mode: 0644]
vim-syntastic/install.sh [new file with mode: 0644]

index ebabbd2fa33b184e59790b503b1cd5ca46ffed8d..c8c5ac50e9f80b63035c6756dfd76da4dba7d30a 100644 (file)
@@ -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 (file)
index 4c593be..0000000
+++ /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 (file)
index 41cee14..0000000
+++ /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 (file)
index 374beb7..0000000
+++ /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 (file)
index 0000000..f1a84f1
--- /dev/null
@@ -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 (file)
index 0000000..41cee14
--- /dev/null
@@ -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 (file)
index 0000000..374beb7
--- /dev/null
@@ -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"
+}