prettierd
nvim-web-devicons
prettierd | nvim-web-devicons | |
---|---|---|
5 | 21 | |
713 | 1,854 | |
- | 5.5% | |
9.0 | 8.8 | |
11 days ago | 10 days ago | |
TypeScript | Lua | |
ISC License | MIT License |
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`).
nvim-web-devicons
- Custom Filetype Detection(Nvim Tree)
-
Auto-completion problems for terraform
I know you moved on dotfiles, which is good, but you will probably want to install https://github.com/nvim-tree/nvim-web-devicons to get those icons for other plugins
-
Patch for Nerd Font V3
This is already done I think, unless more fixes are needed https://github.com/nvim-tree/nvim-web-devicons/pull/264
-
treemacs-devicons: a vim-devicons inspired theme for treemacs!
Motivation: I have been using Emacs for years but I never really sit down and wrote any serious elisp code myself. This time things changed because I saw the nvim-web-devicons. I like trying various kinds of editors, and then I found this devicons from vim editor so good. I really like it especially because it works in the terminal. People always say Emacs is best within GUI but there are times when you have to edit something in a terminal and maybe some like me just like terminal aesthetics. I mean I really like this devicons theme from vim but I never really liked vim keybindings. I want it to be part of Emacs so bad so I finally decided to learn some elisp and make it happen.
-
Nerdfont icons not showing
Did you install this plugin?
-
neovim resorts to default glyphs for nvim-tree
Did you install https://github.com/nvim-tree/nvim-web-devicons ?
-
nvim-material-icon: Better file icon for Nvim
nvim-web-devicons is a plugin that maps filetypes to icons in a patched font and colors for those icons. It has default settings for both the icons and colors for many common filetypes, but they can be customized and you can add support for your own filetypes.
-
Fern.vim now supports nvim-web-devicons
It uses plugins called renderer to change how the file tree is renderer and it has two plugins for render icons in the tree that support lambdalisue/nerdfont.vim and ryanoasis/vim-devicons, but it lacked support for nvim-web-devicons.
-
Cannot see nvim-web-devicons icons
I'm configuring neovim 0.8 on windows. I've installed nvim-tree plugin with its icons nvim-web-devicons. After the installation I cannot see properly the icons in the tree. This is the screenshot with the tree and the configuration part about those plugins:
-
How to configure nvim UI to look like this?
The "look" you're looking for is given by a bunch of plugins: - OneDark.nvim as colorscheme - TS Rainbow for rainbow brackets - BarBar for bufferline - Nvim Devicons and NerdFonts to view file icons - NvimTree as a file manager - Indent Blankline to show indentation guides - CompetiTest with vertical split UI - Feline as statusline plugin. In the screenshot feline is configured with a custom theme. As you can see statusline is different for CompetiTest buffers: a different statusline can be configured for every different filetype using conditional_config.
What are some alternatives?
prettier-plugin-sort-imports - A prettier plugin to sort imports in typescript and javascript files by the provided RegEx order.
vim-devicons - Adds file type icons to Vim plugins such as: NERDTree, vim-airline, CtrlP, unite, Denite, lightline, vim-startify and many more
dotfiles
vim-startify - :link: The fancy start screen for Vim.
prettier_d_slim
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua.
dotfiles - All of my dotfiles are here.
LuaSnip - Snippet Engine for Neovim written in Lua.
CNvim - A lightweight Neovim config for web development
nvim-tree.lua - A file explorer tree for neovim written in lua
gts - ☂️ TypeScript style guide, formatter, and linter.
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config