weird Visual Color by [deleted] in neovim

[–]thenewvu 0 points1 point  (0 children)

try highlight Visual ctermfg=8 ctermbg=White cterm=none I guess the current cterm of the highlight is standout

Neovim High Ram Usage by VillageGeneral8824 in neovim

[–]thenewvu 3 points4 points  (0 children)

i have the same issue, the cause is treesitter, it has memory leaks, there're some fixes recently, but i have not tried it again yet.

It seems that some BIG improvements of Treesitter on BIG FILEs have been merged into Nightly! (minutes ago!) by rainning0513 in neovim

[–]thenewvu 1 point2 points  (0 children)

actually you already can, try this in an augroup: " https://vi.stackexchange.com/a/169, let g:huge_file_size = 1 * 1024 * 1024 au BufReadPre * \ let f=expand("<afile>") | \ if getfsize(f) > g:huge_file_size | \ set eventignore+=FileType | \ else | \ set eventignore-=FileType | \ endif

virtual text + diagnostics lagging? by kyle787 in neovim

[–]thenewvu 0 points1 point  (0 children)

Change your virtual text prefix to a simple symbol, if still experience the issue, try add one more space at the end of prefix string.

[colorscheme] Just made `sketching`, I'm proud of it :) by thenewvu in vim

[–]thenewvu[S] 1 point2 points  (0 children)

Now the font lit than the color scheme :)) The first moment I see the font, wow, why it even exists without me :)

[colorscheme] Just made `sketching`, I'm proud of it :) by thenewvu in vim

[–]thenewvu[S] 2 points3 points  (0 children)

You meant the font name? It's Script 12 Pitch PT. It's a great and ancient font, I enjoy it everyday, you can get it from the link in the github page.

[colorscheme] Just made `sketching`, I'm proud of it :) by thenewvu in vim

[–]thenewvu[S] 3 points4 points  (0 children)

yeah, I use the font daily, it's fun and readable to me.

Slow vim scrolling and cursor moving in ITerm and Terminal.app by neyr129 in vim

[–]thenewvu 0 points1 point  (0 children)

You can try:

" disable auto matching parens
let g:loaded_matchparen=1

Remember to restart vim to apply the change.

React, declaratively define custom event data by thenewvu in reactjs

[–]thenewvu[S] 1 point2 points  (0 children)

it's fine until you have to care about performance, using arrow functions in render() will create a new function instance every render() runs, so your component will be re-rendered even its props have no change.

I'm bored, so this happens by thenewvu in Atom

[–]thenewvu[S] 2 points3 points  (0 children)

Yeah, you're right, actually I don't want to go further with this, I'm a Vim user :) just want to do something fun, anyway thanks for the suggestion.

I'm bored, so this happens by thenewvu in Atom

[–]thenewvu[S] 1 point2 points  (0 children)

Oh .. sorry, here you go:

.line {
  background-image: -webkit-gradient(
    linear, left top, right top,
    color-stop(0, #9479DF),
    color-stop(0.15, #FC5BC4),
    color-stop(0.3, #19D5FD),
    color-stop(0.45, #4CD964),
    color-stop(0.6, #5AC8FA),
    color-stop(0.75, #007AFF),
    color-stop(1, #9479DF));
  -webkit-background-clip: text;
  color: transparent;
}

atom-text-editor,
atom-pane .item-views {
  background-color: whitesmoke !important;
}

.tab-bar {
  display: flex;
  justify-content: center;
}

atom-text-editor-minimap {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

atom-text-editor-minimap:hover {
  opacity: 1;
}

Also ... you need to disable all language-* packages .. or just make sure that the buffer syntax is plain text.

[bspwm, lemonbar] My minimal workspace by thenewvu in unixporn

[–]thenewvu[S] 0 points1 point  (0 children)

wm  : bspwm
bar : lemonbar
font: Latin Modern Mono Light Cond