Permalink
Browse files

update plugins, add preface to vim-for-javascript

  • Loading branch information...
1 parent 3133994 commit 5f0086be063229030c1d75832bdd2c26f14118dd @davidosomething committed Nov 18, 2016
Showing with 29 additions and 4 deletions.
  1. +10 −1 assets/scss/global.scss
  2. +1 −1 hbs/partials/head.hbs
  3. +17 −1 md/_posts/vim-for-javascript.md
  4. +1 −1 package.json
@@ -134,7 +134,7 @@ $typeface__body--fallback: sans-serif;
/// Font weight for body copy
/// @group typography
/// @type FontWeight
-$fw__body: 300;
+$fw__body: 400;
/// Font weight for strong body copy
/// @group typography
@@ -1050,6 +1050,10 @@ body:not(.slug--home) .globalHeader {
.article__changelog {
@include fs('block');
+ dt:not(:first-child) {
+ margin-top: 1em;
+ }
+
dd {
margin: 0.5em 0 0.5em 1.4em;
}
@@ -1058,6 +1062,11 @@ body:not(.slug--home) .globalHeader {
margin: 0;
padding: 0;
}
+
+ li {
+ line-height: 1.2;
+ }
+
}
@@ -31,7 +31,7 @@
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
- <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,600,700,900">
+ <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,700,900">
<link rel="stylesheet" href="/assets/css/global.css">
<script>window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments);};ga.l=+new Date;ga('create','{{ gaId }}','auto');ga('send','pageview');</script>
</head>
@@ -1,7 +1,7 @@
---
slug: "vim-for-javascript"
title: "Setting up Vim for JavaScript development"
-subheader: "Comparisons and information for useful JavaScript-specific plugins"
+subheader: "Setting up Vim and comparisons of JavaScript-specific Vim plugins"
datePublished: 2016-01-09
image: "/assets/img/posts/Vimlogo.svg.png"
tags:
@@ -12,6 +12,11 @@ tags:
- tern
changelog:
-
+ date: 2016-11-17
+ diff: ""
+ body: |
+ - Added a preface in case any n00bs run into this article.
+ -
date: 2016-09-13
diff: "https://github.com/davidosomething/16.davidosomething.com/commit/9d66de11d8c69350e2f9284c2c0b85e0b2cd25c7"
body: |
@@ -61,6 +66,17 @@ changelog:
- Update omni-completion with basic info on how `omnifunc` works and added vim-better-javascript-completion.
---
+Before you read any of this I will caveat with the fact that Vim is perfectly
+adequate for modern JavaScript development _without_ plugins. The Vim runtime
+comes with syntax highlighting and omni-completion already, and you can even
+configure Vim as a task runner without plugins.
+
+This is geared towards people who already know how to use Vim. E.g., if you
+understand minutiae like the difference between `set autoindent` and
+`set indentexpr`, and have found neither to your liking, then read on.
+Otherwise, I highly advise you learn a little more about what the standard
+Vim runtime comes with.
+
## Installing plugins
I recommend using [vim-plug] to install plugins. It's simple, works on both Vim
View
@@ -75,7 +75,7 @@
"metalsmith": "^2.1.0",
"metalsmith-branch": "0.0.4",
"metalsmith-build-date": "^0.2.0",
- "metalsmith-collections": "^0.7.0",
+ "metalsmith-collections": "^0.9.0",
"metalsmith-feed": "^0.2.0",
"metalsmith-ignore": "^0.1.2",
"metalsmith-layouts": "^1.6.5",

0 comments on commit 5f0086b

Please sign in to comment.