Browse Source

Fix a minor error

master
Nicolas Petton 2 years ago
parent
commit
bca4193ce6
Signed by: nico GPG Key ID: 233587A47C207910
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      _posts/2017-05-02-emacs-setup-javascript-2.markdown
  2. +1
    -1
      _site/emacs/javascript/setup/2017/05/09/emacs-setup-javascript-2.html
  3. +2
    -2
      _site/feed.xml
  4. +1
    -1
      serve.sh

+ 1
- 1
_posts/2017-05-02-emacs-setup-javascript-2.markdown View File

@@ -39,7 +39,7 @@ The Emacs configuration is straight-forward, we simply enable company-mode with
the tern backend for JavaScript buffers:

{% highlight elisp %}
(require 'company-mode)
(require 'company)
(require 'company-tern)

(add-to-list 'company-backends 'company-tern)


+ 1
- 1
_site/emacs/javascript/setup/2017/05/09/emacs-setup-javascript-2.html View File

@@ -117,7 +117,7 @@ install tern:</p>
<p>The Emacs configuration is straight-forward, we simply enable company-mode with
the tern backend for JavaScript buffers:</p>

<figure class="highlight"><pre><code class="language-elisp" data-lang="elisp"><span class="p">(</span><span class="nb">require</span> <span class="ss">'company-mode</span><span class="p">)</span>
<figure class="highlight"><pre><code class="language-elisp" data-lang="elisp"><span class="p">(</span><span class="nb">require</span> <span class="ss">'company</span><span class="p">)</span>
<span class="p">(</span><span class="nb">require</span> <span class="ss">'company-tern</span><span class="p">)</span>

<span class="p">(</span><span class="nv">add-to-list</span> <span class="ss">'company-backends</span> <span class="ss">'company-tern</span><span class="p">)</span>


+ 2
- 2
_site/feed.xml View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.5.1">Jekyll</generator><link href="https://emacs.cafe/feed.xml" rel="self" type="application/atom+xml" /><link href="https://emacs.cafe/" rel="alternate" type="text/html" /><updated>2017-08-01T10:43:40+02:00</updated><id>https://emacs.cafe/</id><title type="html">Emacs café</title><subtitle>A blog about Emacs, mostly focused on JavaScript development, by Nicolas Petton.
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.5.1">Jekyll</generator><link href="https://emacs.cafe/feed.xml" rel="self" type="application/atom+xml" /><link href="https://emacs.cafe/" rel="alternate" type="text/html" /><updated>2017-11-10T15:59:11+01:00</updated><id>https://emacs.cafe/</id><title type="html">Emacs café</title><subtitle>A blog about Emacs, mostly focused on JavaScript development, by Nicolas Petton.
</subtitle><entry><title type="html">beginend.el</title><link href="https://emacs.cafe/emacs/package/2017/08/01/beginend.html" rel="alternate" type="text/html" title="beginend.el" /><published>2017-08-01T10:38:00+02:00</published><updated>2017-08-01T10:38:00+02:00</updated><id>https://emacs.cafe/emacs/package/2017/08/01/beginend</id><content type="html" xml:base="https://emacs.cafe/emacs/package/2017/08/01/beginend.html">&lt;p&gt;Thank you Nicolas for letting me borrow (again) your blog to talk
about my work. This time, this will not only be my work, but the one
of Matus Goljer too (aka &lt;a href=&quot;https://github.com/Fuco1/&quot;&gt;Fuco1&lt;/a&gt;). Let me
@@ -899,7 +899,7 @@ install tern:&lt;/p&gt;
&lt;p&gt;The Emacs configuration is straight-forward, we simply enable company-mode with
the tern backend for JavaScript buffers:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-elisp&quot; data-lang=&quot;elisp&quot;&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;require&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;'company-mode&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-elisp&quot; data-lang=&quot;elisp&quot;&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;require&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;'company&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;require&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;'company-tern&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;

&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;add-to-list&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;'company-backends&lt;/span&gt; &lt;span class=&quot;ss&quot;&gt;'company-tern&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;


+ 1
- 1
serve.sh View File

@@ -2,4 +2,4 @@

cd "$(dirname "$0")" || exit 1

JEKYLL_ENV=production jekyll serve --incremental
JEKYLL_ENV=production bundle exec jekyll serve --incremental

Loading…
Cancel
Save