prettierd
nerd-fonts
prettierd | nerd-fonts | |
---|---|---|
5 | 239 | |
713 | 51,828 | |
- | - | |
9.0 | 9.7 | |
11 days ago | 5 days ago | |
TypeScript | CSS | |
ISC License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prettierd
-
My Neovim setup for React, TypeScript, Tailwind CSS, etc
First, you need prettierd:
-
This j/k mappings should be default (for wrap) at least in Plugins like vim-pencil
Besides remapping keys, auto-format with prettier (null-ls, ALE, etc) will wrap your code on line break. This might not be desirable for txt files, but it's transparent and fully supported by markdown. It'll also fix things like aligning your markdown tables. There's also prettierd and prettier_d_slim to keep it running as a daemon in the background, which makes the buffer reformatting really snappy.
-
I'm searching for nvim configs of react/js developers
For react you will need the one for typescript and the eslint lsp is also used in the config to auto fix errors on save. Also this relies on prettierd to be installed globally: https://github.com/fsouza/prettierd
- Anyone know how to make prettier run faster when run on save? It takes about 2 seconds every time I write my buffer to desk for Neovim to become responsive again.
-
Speed-up your Prettier formatting using prettierd
But today I discovered this tool: https://github.com/fsouza/prettierd. This completely solves the issue: the slowness of prettier is due to the overhead of launching the program. This package leaves prettier running as a daemon, which removes the launch overhead (kind of similar to the already famous `eslint_d`).
nerd-fonts
-
How to Develop a Font?
Fonts play a significant role in development and usage scenarios, such as in editors like VIM, where we use font enhancements like nerd-fonts for improved display, including icons, and more.
- Turbinando sua Produtividade: Autocomplete e Personalização no Terminal do Windows
-
jokermanBestFont
Use any nerd fonts
-
which Font do you use?
SourceCodePro: https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/SourceCodePro
-
Neovim Nerd Font icons are available!
Hot off the press: https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.1.0
-
Berkeley Mono Typeface
It's a bit expensive, and I can understand if someone can't or doesn't want to spend money on it. I would recommend to check out the free fonts 'JetBains Mono' & 'Hack' to these people.
Some people have already mentioned here that Berkeley Mono is not available as Nerd Font. I would like to briefly point out that Nerd Fonts provides a font patcher tool (https://github.com/ryanoasis/nerd-fonts#font-patcher).
-
NvChad - multiple different client offset_encodings detected for buffer
I'm using Neovim v0.9.1 on Ubuntu 23.04 with NvChad. I've also installed the JetBrainsMono font, as NvChad requires a Nerd Font, but nothing besides that and I haven't edited any settings or nvim files and I haven't installed any additional plugins.
- Nerd Fonts
-
JetBrains Mono Typeface
There are a lot of code fonts on HN today. Rather than make a new post I will talk about some of my favorite that are a little less common. None of these are free I don't think.
Cartograph CF - The one I've been using for code for years. Very readable, almost "comic mono"-like choices of some of the lower case glyphs but in a good way. All the character is in the italic which you will either love or hate.
Quadraat sans mono - The entire quadraat family is a collection of masterpieces imo, but are generally too distinctive to be appropriate for most public-facing work. But it's your computer so who cares. I use the mono sans one for my terminal. The lowercase f seems so out of place there but you learn to love it.
Alegreya sans - Not a mono font, but it almost is so if you've ever flirted with proportional fonts for code this is a fun one to try. There is a lot of careful line width variation that gives a lot of the appearance and readability advantages of serifs but keeps most of the visual coherence of sans.
I like all of these because they look feel more like normal fonts rather than code fonts. They have careful variation that adds character and improves readability for me. I've switched to an almost-no-color code theme that uses font weight instead, and the details like this become more important that way.
And then only kind of related but if you want to use unusual fonts in your terminal but you have a complex prompt setup, install font forge and learn to use something like https://github.com/ryanoasis/nerd-fonts/blob/master/font-pat... to patch in the extra characters. This can also solve your "I love this font but want a dotted zero" type problems as well. Small skill investment for a small return over a long period of time. You'll always be using fonts.
-
Compiler.nvim: Oficially released (beta)
It is FiraCode Nerd Font Mono:size=16. You can find it here. On arch linux you can just install the nerd-fonts and it's included there.
What are some alternatives?
prettier-plugin-sort-imports - A prettier plugin to sort imports in typescript and javascript files by the provided RegEx order.
FiraCode - Free monospaced font with programming ligatures
dotfiles
Visual Studio Code - Public documentation for Visual Studio Code
prettier_d_slim
powerline - Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
dotfiles - All of my dotfiles are here.
bash-powerline - Powerline-style Bash prompt in pure Bash script. See also https://github.com/riobard/zsh-powerline
CNvim - A lightweight Neovim config for web development
Hack - A typeface designed for source code
gts - ☂️ TypeScript style guide, formatter, and linter.
powerlevel10k - A Zsh theme