Giter VIP home page Giter VIP logo

vim-fern-renderer-nerdfont's Introduction

vim-fern-renderer-nerdfont's People

Contributors

lambdalisue avatar creativenull avatar wuelnerdotexe avatar jneidel avatar vladyagl avatar gen740 avatar

Stargazers

 avatar Don avatar Chen Jiyang avatar daiki chiba avatar  avatar Vitaly Kogogin avatar leoatchina avatar Jaider Angarita avatar  avatar Gustavo Miranda avatar  avatar melody avatar Justin Farrell avatar Comamoca avatar Lafixier Rafinantoka avatar Shuta Hirai avatar Jascha van Aalst avatar Aoshi Fujioka avatar  avatar  avatar Yash Shukla avatar  avatar Mike avatar Brandon Richardson avatar Yuta Sano avatar Leonardo Valeri Manera avatar Takuma Hashimoto avatar  avatar David Guevara avatar arrow2nd avatar  avatar  avatar Chris Salisbury avatar kuator avatar skanehira avatar  avatar Marc Gutenberger avatar idchlife avatar  avatar Adelar da Silva Queir贸z avatar Penn Su avatar axyie avatar Joseph Harriott avatar haxibami avatar Adailton Nascimento avatar Rikuoh Tsujitani avatar Hanley Lee avatar mrkvn avatar  avatar 鈼も棦鈼も棦鈼も棦鈼も棦 avatar D谩niel K谩ntor avatar Ben Smith avatar  avatar James Lin avatar Sanskar Jethi avatar Domagoj avatar ZhenYangze avatar Jonathan Escamilla avatar Leonid V. Fedorenchik avatar Patrik Wenger avatar Ian McGaunn avatar  avatar Andy Shevchenko avatar Chris Hills avatar ArcherN9 avatar  avatar jlx avatar  avatar pg avatar tg-z avatar Tyler Oakleaf avatar  avatar David O'Trakoun avatar Daniel M. Capella avatar Luma avatar Hennadii Chernyshchyk avatar Tsuyoshi CHO avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

vim-fern-renderer-nerdfont's Issues

gives error when starting

gives me these errors when starting neovim
E121: Undefined variable: g:fern#renderers
E116: Argumentos inv谩lidos para la funci贸n: extend

Not able to keep file in focus with reveal

Hey friends!

I'm unable to keep a file in focus in the drawer when I switch between different buffers. This is my current setup:

  vim.cmd([[
  	if !isdirectory(expand('%:p'))
		augroup fern-startup
			autocmd! *
		augroup END
	else 
		augroup fern-startup
			autocmd! *
			autocmd VimEnter * ++nested Fern <afile> -drawer -reveal=% -stay
			autocmd BufRead * ++nested Fern . -drawer -reveal=% -stay
		augroup END
	endif
  ]])

It only focuses on the file when it's a new file being added to the buffer but doesn't switch focus if I'm switching back to a file in the window that's already in the buffer.

Support for nvim-web-devicons

Hi! There is another interesting project - nvim-web-devicons. Because of lua, it may be preferable to neovim users over nerdfont.vim. To avoid creating something like fern-renderer-devicons.nvim with almost the same code it may be better to integrate it here. What do you think?

Left blank margin increase

The left margin is 2 blank characters without this plugin,
but when installing fern-renderer-nerdfont plugin - it is 3 blank characters!

It's too wide :)

(defx on top, fern bottom)
image

Startup errors on low vim version (nvim is fine)

I get the following errors despite let g:fern_disable_startup_warnings = 1.
Other fern plugins are fine (highjack, nerdfont, palette).

Error detected while processing .../vim/plugged/fern.vim/autoload/fern.vim:
line    5:
E492: Not an editor command: const g:fern#STATUS_NONE = 0
line    6:
E492: Not an editor command: const g:fern#STATUS_COLLAPSED = 1
line    7:
E492: Not an editor command: const g:fern#STATUS_EXPANDED = 2
line    9:
E492: Not an editor command: const g:fern#DEBUG = 0
line   10:
E492: Not an editor command: const g:fern#INFO = 1
line   11:
E492: Not an editor command: const g:fern#WARN = 2
line   12:
E492: Not an editor command: const g:fern#ERROR = 3
line   46:
E121: Undefined variable: g:fern#INFO
E116: Invalid arguments for function <SNR>42_config
Error detected while processing .../vim/plugged/fern-renderer-nerdfont.vim/plugin/fern_renderer_nerdfont.vim:
line    8:
E121: Undefined variable: g:fern#renderers
E116: Invalid arguments for function extend
Press ENTER or type command to continue

Some Icons are Showing, Some Aren't

Using

Plug 'lambdalisue/nerdfont.vim'
Plug 'lambdalisue/fern-renderer-nerdfont.vim'
Plug 'lambdalisue/glyph-palette.vim'

Some glyphs will load. Most show the font characters.
image

In .vimrc

augroup my-glyph-palette
  autocmd! *
  autocmd FileType fern call glyph_palette#apply()
  autocmd FileType nerdtree,startify call glyph_palette#apply()
augroup END
let g:fern#renderer = "nerdfont"

How to install this? No icons in tree no matter what I do.

I'm using Termux on Android. I installed custom Fira Code NerdFont font fot it.
After that I installed devicons plugin for vim and my vimairline plugin used it as integration and I got pretty icons for my system (proot debian) and filetypes in the vimairline.

BUT no matter what I do I dont have any kind of icons in fern:

image

I tried renderer in .vimrc "nerdtree" and "devicons"

I tried copying files from "autoload" dir into my ~/.vim/plugged and my ~/.vim/autoload folders - no luck.

I mean I can and I use function from "nerdtree" plugin to check which icon for which file/folder, but no luck with icons for fern tree so far...

About the Usage in README.md

Is nerdfont the only option one can set by this plugin? Or it can be replaced by a font I've patched with nerd font?

let g:fern#renderer = "nerdfont"

Thanks in advance.

Vim freezes

This issue is reproducible, and I've isolated it to this module.

These are my settings which are enough to cause a freeze/crash:

noremap <silent> <Leader>f :Fern . -drawer -reveal=% -toggle -width=35<CR><C-w>=
let g:fern#renderer = "nerdfont"

Debugging further, I've isolated the issue to the -reveal=% part of my <Leader> f command.
Removing that option will prevent this bug from happening.

One more thing that I looked into:
I have this setting in vim:
set autochdir

Disabling this with my original two settings makes this bug much more difficult to reproduce, but it will eventually happen.

Steps to Reproduce:

  1. Leader f to open
  2. Leader f to close
  3. Leader f to open again (crash)

Note: Pressing Leader f very quickly will not reproduce this bug. The presses need to happen with about 1 second in between.

On step 3, I do notice a new buffer:

image

I see this buffer open and close immediately when opening Fern. But on the crash, it remains there.

I have the following plugins installed:

fern
fern-git-status
fern-mapping-git
fern-nerdfont
fern-renderer-nerdfont
fern-mapping-project-top
FixCursorHold.nvim

Indentation guides

Is it possible to add indentation guides to make it more obvious which folder a file belongs to?

Or alternatively increase the indentation size?

Thanks.

Font rendering issue

I am using void linux. I have nerdfonts installed, but the font icons are wrong.

font-issue

Vue icon is broken

Hey. Vue icon is broken. However it works in airline.
image

vim
st-terminal
freebsd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.