Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
update plugins, add preface to vim-for-javascript
  • Loading branch information
davidosomething committed Nov 18, 2016
1 parent 3133994 commit 5f0086b
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 4 deletions.
11 changes: 10 additions & 1 deletion assets/scss/global.scss
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}
Expand All @@ -1058,6 +1062,11 @@ body:not(.slug--home) .globalHeader {
margin: 0;
padding: 0;
}

li {
line-height: 1.2;
}

}


Expand Down
2 changes: 1 addition & 1 deletion hbs/partials/head.hbs
Expand Up @@ -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>
18 changes: 17 additions & 1 deletion md/_posts/vim-for-javascript.md
@@ -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:
Expand All @@ -11,6 +11,11 @@ tags:
- linting
- 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"
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down

0 comments on commit 5f0086b

Please sign in to comment.