@ciao-lang/ts-ciao-interface
Version:
Simple Ciao interface for node.
13 lines (10 loc) • 3.73 kB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta name="theme-color" content="#273f79"/><link rel="stylesheet" href="lpdoc.css" type="text/css"/><script type="text/javascript" src="lpdoc.js"></script><title>Company Ciao: advanced autocompletion — The Ciao System v1.22</title></head><body><div class="lpdoc-page fixleftbar"><a href="#" id="sidebar-toggle-button" class="lpdoc-navbutton"><span id="sidebar-button-arrow">☰</span></a><div id="sidebar" class="lpdoc-sidebar"><div style="height: 40px; margin-left: auto; margin-right: auto"><img src="ciao-logo_autofig.png" width=auto height=100%></div><div class="lpdoc-nav"><span class="lpdoc-on-right"><a class="lpdoc-navbutton" href="AdvCiaoEmacs.html">↑</a><a class="lpdoc-navbutton" href="flycheck-ciao.html">←</a><a class="lpdoc-navbutton" href="BasicLang.html">→</a><a class="lpdoc-navbutton" href="ciaosearch.html">🔍</a></span><span><a href="ciaofulltoc.html">TOC</a></span></div><hr></hr><ul class="lpdoc-itemize-sectpath"><li><a href="ciao.html">The Ciao System</a> »<br/> </li><li><a href="DevEnv.html">PART I - The program development environment</a> »<br/> </li><li><a href="AdvCiaoEmacs.html">Advanced Ciao Emacs functionalities</a> »<br/> </li><li><a href=""><strong>Company Ciao: advanced autocompletion</strong></a></li></ul><hr></hr><em>ON THIS PAGE</em><ul><li><a href="#Setup">Setup</a></li><li><a href="#Using Company">Using Company</a></li></ul></div><div class="lpdoc-main"><div id=""><h1>Company Ciao: advanced autocompletion</h1>
<strong>Author(s):</strong> <a class="lpdoc-idx-anchor" id="Miguel Angel Sanchez Ordaz" href="ciaosearch.html#Miguel Angel Sanchez Ordaz">Miguel Angel Sanchez Ordaz</a>.<p>
<a class="lpdoc-idx-anchor" id="0" href="ciaosearch.html#companyciao, intro"></a> <a href="https://company-mode.github.io/">Company</a> is a text completion framework for Emacs. The name stands for "complete anything".<p><div id="Setup"><h2>Setup</h2> <p>Before installing this package, <a class="lpdoc-idx-anchor" id="1" href="emacs.html"><tt>emacs</tt></a> 24 is needed for using <a href="https://company-mode.github.io/">Company</a>. If you do not have installed it yet, this package <a class="lpdoc-idx-anchor" id="2" href="ciaosearch.html#company-ciao"><tt>company-ciao</tt></a> will do it automatically from ELPA repository.<p>There are two options for the setup:<p><ul> <p><li>Insert the next line into your <a class="lpdoc-idx-anchor" id="3" href="emacs.html"><tt>emacs</tt></a> init file.<p><pre class="lpdoc-codeblock">(eval-after-load 'company '(add-hook 'company-mode-hook 'company-ciao-setup))
</pre> <p><li>If you use <a href="https://github.com/jwiegley/use-package">use-package</a>, you can insert instead.<p><pre class="lpdoc-codeblock">(use-package flycheck-ciao
:after flycheck
:hook
(company-mode . company-ciao-setup)
)
</pre> <p></ul> <p></div><div id="Using Company"><h2>Using Company</h2> <p>Once enabled the use of <a class="lpdoc-idx-anchor" id="4" href="ciaosearch.html#company-mode"><tt>company-mode</tt></a> will be automatic.<p>To enable <a class="lpdoc-idx-anchor" id="5" href="ciaosearch.html#company-mode"><tt>company-mode</tt></a> in all buffers where possible, insert into your <a class="lpdoc-idx-anchor" id="6" href="emacs.html"><tt>emacs</tt></a> file the next line:<p><pre class="lpdoc-codeblock">(add-hook 'after-init-hook 'global-company-mode)
</pre> </div><br/></div><div class="lpdoc-footer">Generated with LPdoc using Ciao</div></div><div class="lpdoc-clearer"></div></div></body></html>