-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
7,151 additions
and
2,558 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="no"?> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>Appendix A. Known Issues and Quirks</title> | ||
<link rel="stylesheet" type="text/css" href="/nix/store/lizkbs7104snrrw60p91avpdym8wyl96-nvf-manual/share/doc/nvf/style.css" /> | ||
<script src="./highlightjs/highlight.pack.js" type="text/javascript"></script><script src="./highlightjs/loader.js" type="text/javascript"></script><script src="script/anchor-use.js" type="text/javascript"></script><script src="script/anchor-min.js" type="text/javascript"></script> | ||
<meta name="generator" content="nixos-render-docs" /> | ||
<link rel="home" href="index.xhtml" title="nvf manual" /> | ||
<link rel="up" href="index.xhtml" title="nvf manual" /><link rel="prev" href="index.xhtml" title="nvf manual" /><link rel="next" href="options.html" title="Appendix B. Neovim Flake Configuration Options" /> | ||
</head> | ||
<body> | ||
<div class="navheader"> | ||
<table width="100%" summary="Navigation header"> | ||
<tr> | ||
<th colspan="3" align="center">Appendix A. Known Issues and Quirks</th> | ||
</tr> | ||
<tr> | ||
<td width="20%" align="left"><a accesskey="p" href="index.xhtml">Prev</a> </td> | ||
<th width="60%" align="center"> </th> | ||
<td width="20%" align="right"> <a accesskey="n" href="options.html">Next</a></td> | ||
</tr> | ||
</table> | ||
<hr /> | ||
</div><div class="appendix"> <div class="titlepage"> <div> <div> <h1 id="ch-known-issues-quirks" class="title" >Appendix A. Known Issues and Quirks </h1> </div> </div></div><div class="toc"> <p><strong>Table of Contents</strong></p> <dl class="toc"> <dt> <span class="chapter"> <a href="quirks.html#ch-quirks-nodejs">NodeJS</a> </span></dt> </dl></div><p>At times, certain plugins and modules may refuse to play nicely with your setup, | ||
be it a result of generating Lua from Nix, or the state of packaging. This page, | ||
in turn, will list any known modules or plugins that are known to misbehave, and | ||
possible workarounds that you may apply.</p><div class="chapter"> <div class="titlepage"> <div> <div> <h2 id="ch-quirks-nodejs" class="title" >NodeJS </h2> </div> </div></div><div class="toc"> <p><strong>Table of Contents</strong></p> <dl class="toc"> <dt> <span class="section"> <a href="quirks.html#sec-eslint-plugin-prettier">eslint-plugin-prettier</a> </span></dt> </dl></div><div class="section"> <div class="titlepage"> <div> <div> <h2 id="sec-eslint-plugin-prettier" class="title" style="clear: both">eslint-plugin-prettier </h2> </div> </div></div><p>When working with NodeJS, everything works as expected, but some projects have | ||
settings that can fool nvf.</p><p>If <a class="link" href="https://github.com/prettier/eslint-plugin-prettier" target="_top">this plugin</a> or similar | ||
is included, you might get a situation where your eslint configuration diagnoses | ||
your formatting according to its own config (usually <code class="literal">.eslintrc.js</code>).</p><p>The issue there is your formatting is made via prettierd.</p><p>This results in auto-formatting relying on your prettier config, while your | ||
eslint config diagnoses formatting | ||
<a class="link" href="https://prettier.io/docs/en/comparison.html" target="_top">which it’s not supposed to</a>)</p><p>In the end, you get discrepancies between what your editor does and what it | ||
wants.</p><p>Solutions are:</p><div class="orderedlist"><ol class="orderedlist compact" type="1"><li class="listitem"><p>Don’t add a formatting config to eslint, and separate prettier and eslint.</p></li><li class="listitem"><p>PR this repo to add an ESLint formatter and configure nvf to use it.</p></li></ol></div> | ||
</div> | ||
|
||
</div> | ||
</div> <div class="navfooter"> | ||
<hr /> | ||
<table width="100%" summary="Navigation footer"> | ||
<tr> | ||
<td width="40%" align="left"><a accesskey="p" href="index.xhtml">Prev</a> </td> | ||
<td width="20%" align="center"> </td> | ||
<td width="40%" align="right"> <a accesskey="n" href="options.html">Next</a></td> | ||
</tr> | ||
<tr> | ||
<td width="40%" align="left" valign="top">nvf manual </td> | ||
<td width="20%" align="center"><a accesskey="h" href="index.xhtml">Home</a></td> | ||
<td width="40%" align="right" valign="top"> Appendix B. Neovim Flake Configuration Options</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.