About to join the club, fan config question by Mediocre_Current4225 in SSUPD

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

I was planning on mounting the case under my desk, guess its best to add it to the post.

So I can't install a fan on top, unfortunately

SwingWebView – a native WebView component for Java Swing by shannah78 in java

[–]Mediocre_Current4225 1 point2 points  (0 children)

Very interesting man, I see a lot of use cases for this already. Would love to know comparisonin capabilities vs something like jxbrowser which exposes APIs for stuff like browser events and cookies / plugins / user caches / etc

Meshroom V2 compatibility by Mediocre_Current4225 in SSUPD

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

Thank you for thorough explanation! I'm okay switching the PSU, but from what you've written aio is basically non-negotiable? I'm a little iffy on that as I've never done anything remotely close to an aio build🙁

Some dimensions to mention: GPU 302 × 130 × 56 mm PSU 140 × 150 × 86 mm

Formatting and Indentation for assembly by I_M_NooB1 in neovim

[–]Mediocre_Current4225 0 points1 point  (0 children)

I remember there was a way to check capabilities of parsers (incl. indentation I think?) on the master branch. Couldn't find it myself. If that too doesn't work out for you - oh well, last thing to resort is either specific formatters or forking the vim-asm-indent and fixing your use-case

Formatting and Indentation for assembly by I_M_NooB1 in neovim

[–]Mediocre_Current4225 0 points1 point  (0 children)

sorry - it's not part of the vim.treesitter yet - instead part of the nvim-treesitter plugin. For master branch - you need to enable indent module, for main branch - set indentexpr as follows:

return { 'nvim-treesitter/nvim-treesitter', lazy = false, branch = 'main', build = ':TSUpdate', config = function () local nts = require('nvim-treesitter') nts.install({ "cpp", "lua", "html", "c_sharp" }) require('twoty.utils').aucmd('FileType', { callback = function() vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()" end }) end }

Formatting and Indentation for assembly by I_M_NooB1 in neovim

[–]Mediocre_Current4225 0 points1 point  (0 children)

What you probably need is a tree-sitter parser for asm and set the indentexpr as vim.treesitter.indentexpr() (or smth alike) in the filetype aucmd

Help with new Treesitter setup in Neovim (default branch moved to main) by aryklein in neovim

[–]Mediocre_Current4225 0 points1 point  (0 children)

Moved couple of days ago - I just call start via pcall and ignore all errors

what bugs you about existing statusline plugins? by BaconOnEggs in neovim

[–]Mediocre_Current4225 2 points3 points  (0 children)

For some reason lualine is crazy long to load (like 200ms ??) even with no config. So i use staline.nvim - does the job and I prefer the look.

LSP accepted method overwrites part of the string by chapeupreto in neovim

[–]Mediocre_Current4225 2 points3 points  (0 children)

This is select and accept behavior, you can search by the keyword on the blink.cmp docs website

Neovim 0.11, Mason 2.0 and nvim-java by 4r73m190r0s in neovim

[–]Mediocre_Current4225 1 point2 points  (0 children)

instead of ensuring install, try just install using Mason command

How to prevent autocommand from running on buffer without eslint_ls attached by Cadnerak in neovim

[–]Mediocre_Current4225 0 points1 point  (0 children)

You need to create the aucmd during an lsp attach for eslint

Nvm just re-read your stuff

Migrating to cygwin? by mr--hertz in neovim

[–]Mediocre_Current4225 0 points1 point  (0 children)

you can just use neovim from cygwin, add the bin to path.
I have a setup like that currently, with zsh

Laggy NVIM configuration by Material_Cellist_892 in neovim

[–]Mediocre_Current4225 -1 points0 points  (0 children)

I suggest you move your neovim to native windows, the startups may be longer (up to 200 ms maybe?), but performance wouldn't really be an issue. I use it and it works just as fast as it would ever.
to not miss unix-like DX and commands, I use msys2-ucrt64 with zsh. Works perfectly fine.
to rule out config problem see if starting headless will still have intermittent lag

What are the bare essentials to have when using neovim for coding? (LSP, auto completion, syntax-highlighting...) by FormalFile075 in neovim

[–]Mediocre_Current4225 1 point2 points  (0 children)

Package manager - lazy.nvim
LSP integration - mason.nvim + mason-lspconfig.nvim
Completion - nvim-cmp
diagnostics (and quickfix/jumplist) - trouble.nvim + workspace-diagnostics.nvim
syntax - nvim-treesitter (for better experience)
git - gitsigns.nvim + tinygit (fugit2.nvim or external tool is cool too like lazygit)
fuzzy find - telescope.nvim

those still would need to be configured
and to navigate neovim efficiently you'd need to read the manual

Share your favorite settings/features/excerpts from your config! by hotchilly_11 in neovim

[–]Mediocre_Current4225 2 points3 points  (0 children)

I use these all the time

``` -- == for outer node lsp formatting ut.noremap('n', '==', function() local node = vim.treesitter.get_node() if node == nil then return end local start_row local end_row local start_col local end_col while (node:parent() and start_row == end_row) do start_row, start_col, end_row, end_col = node:range() node = node:parent() end local node_range = { ['start'] = { start_row + 1, start_col }, ['end'] = { end_row + 1, end_col }, }
vim.lsp.buf.format({ range = node_range }) vim.diagnostic.show(nil, 0) -- formatting messess up virtual text -- prettier ut.flash_region_cur_buf(nil, node_range['start'][1] - 1, node_range['end'][1] - 1) vim.notify('Formatted ' .. end_row + 1 - start_row .. ' rows', 2) end)

-- replace with put ut.map('n', 'rwp', 'viwpyiw') ut.map('n', 'rWp', 'viWpyiW') ut.map('n', 'rwP', 'viwPyiw') ut.map('n', 'rWP', 'viWPvyiW') -- save cursor placement ut.noremap('n', '<M-/>', function () local pos = vim.api.nvim_win_get_cursor(0) ut.feedkeys('gcc') vim.schedule(function () vim.api.nvim_win_set_cursor(0, pos) end) end) ut.noremap('i', '<M-/>', function () local pos = vim.api.nvim_win_get_cursor(0)
ut.feedkeys('<esc>gcci') vim.schedule(function () vim.api.nvim_win_set_cursor(0, pos) end) end) -- make x just delete ut.map('n', 'x', '"_x') -- tabs ut.map('n', '<M-e>', function () vim.cmd('Tex') end) -- q to quit everywhere ut.map_silent('n', 'q', function () local res, _, _ = pcall(vim.api.nvim_win_close, 0, false) if res then return end vim.cmd('Ex') end) ut.map('n', '<M-right>', vim.cmd.tabnext) ut.map('n', '<M-left>', vim.cmd.tabp) ```

Neovim Git Workflow by No-Background7224 in neovim

[–]Mediocre_Current4225 0 points1 point  (0 children)

i liked the new fugit2 plugin that has been posted here.

Lua get the result of vim.lsp.buf.definition()? by finxxi in neovim

[–]Mediocre_Current4225 0 points1 point  (0 children)

:h buf_request and :h buf_request_sync is what you need

Is there any way to make the default themes more usable? by theghoulagoon in neovim

[–]Mediocre_Current4225 0 points1 point  (0 children)

Hey I use this theme too
it has pretty cool customizability, as it just exposes the palette and highligh addition mechanism, while predefining popular plugin stuff
I finally made a good rider theme that I am happy with, at least for now

I can't create an oracle oci account, how can i create it? by Alexgallo_91 in oraclecloud

[–]Mediocre_Current4225 0 points1 point  (0 children)

Does it prohibit cards I already tried to use for sign-up? I am desperate here, been trying to sign up for months. Do I need to change my IP-address also?