[-] skipperwannabe@lemm.ee 3 points 8 months ago

Next time, try enabling display of whitespace characters through set list. If I remember correctly, they can help distinguish between the Windows carriage return character and Linux end of line character.

This may help for a quick overview.

[-] skipperwannabe@lemm.ee 1 points 10 months ago

That makes sense. Which-key doesn't allow the timeout to take place after gc since it knows about gcc. While that functionality is useful when you don't know which key to press next, in situations like these it would create problems. I think your best solution would still be to modify the mappings. Maybe remap gc to gcl (comment last) or something like that.

[-] skipperwannabe@lemm.ee 4 points 10 months ago

LSP maybe portable with it's config if the LSP themselves are independent. Checkout Mason which seems to make it easier to bundle neovim and "portable" LSP. There was another project similar to Mason with some more features, but I forgot it's name. So search around to see if that fits your requirements.

[-] skipperwannabe@lemm.ee 1 points 10 months ago

Like I said, I haven't used mini.comment, but having both gc and gcc mapping may cause problems. If I remember correctly, in these situations, neovim waits after receiving gc command to figure out if you are trying to execute comment last or gcc with comment line. Depending on timelen (or timeout, forgot the exact name) setting the command you actually execute will defer based on the key pressed/not pressed after gc.

Also, if gc is mapped to comment last, and there was no last comment action performed, it might do nothing (maybe check the readme to be sure). So maybe try changing the mapping to see if that helps.

[-] skipperwannabe@lemm.ee 2 points 10 months ago

Try using :verbose nmap gc to find out what the shortcut is currently mapped to.

I don't use mini.comment, but I assume it needs an operator after gc to for commenting. I have seen gcc used to comment out the line. Just wanted to make sure you are using the correct mapping.

[-] skipperwannabe@lemm.ee 1 points 1 year ago

For me, it works as well on nightly without any modifications as it did when the archival announcement was made. But I only use formatters and one or two linters. So can't confirm for other features.

That said, I am thinking about changing to conform.nivm for formatting.

[-] skipperwannabe@lemm.ee 7 points 1 year ago* (last edited 1 year ago)

The notice on packer suggested to use either lazy or pckr

NOTICE:

This repository is currently unmaintained. For the time being (as of August, 2023), it is recommended to use one of the following plugin managers instead:

lazy.nvim: Most stable and maintained plugin manager for Nvim.

pckr.nvim: Spiritual successor of packer.nvim. Functional but not as stable as lazy.nvim.

[-] skipperwannabe@lemm.ee 2 points 1 year ago

Considering null-ls still works on nightly, it should be fine.

[-] skipperwannabe@lemm.ee 1 points 1 year ago

There is also this official extension. IIRC, this also makes sure that all the meta owned sites are not able to interact with other sites, but can work fine with each other. It also makes sure that any links leading to their sites also only open in the container, maybe also sanitized to remove the tracker from original link. The last part I am not sure, as I might be confusing it with a different extension. But if you are using any of the Meta sites, I would recommend it.

[-] skipperwannabe@lemm.ee 1 points 1 year ago

Sorry, I missed the previous message. Glad you got it working with the help of @rewire@programming.dev.

Regarding the massive list, yeah that is expected. If you haven't got fd or rg installed in you system, telescope falls back to regular find. Find doesn't have any sort of builtin ignore list, so it just lists all the files. If you are using the builtin.find_files normally, I think it executes (at least something close to)

find -not -path "*/.*" -type f

With the hidden=true, it does something along the lines of

find . -type f

Both of these commands are executed from the cwd (normally the directory you started nvim in). If you want it only show to a certain depth, you can use the telescope's setup to change the default find_command

telescope.setup({
  pickers = {
    find_files = {
      find_command = { "find", "-maxdepth", "3", ".", "-type", "f"},
    },
  },
}

Modify that to your requirement and then use the keymap to call builtin.find_files() and it should work.

[-] skipperwannabe@lemm.ee 9 points 1 year ago

If you are trying to switch from Chrome, then just use regular Firefox with the ublock extension (and maybe some of the other privacy extension officially supported). If you are a "power user" and want modify/access about:config and other settings then you need Firefox Nightly. The Fennec and Fenix (iirc) are just stripped down Firefox that either only have private mode or additional settings for privacy (that are already present in regular version, but way not be enabled by default). Hope that helps.

[-] skipperwannabe@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

If you have fd installed, telescope uses it's settings including ignore files (including .ignore and .gitignore etc). So if have the default settings for fd to show hidden files, telescope will respect that.

Otherwise, if you want to have hidden files only in telescope without changing the default behavior of fd , when using your key binding, change it as follows:

vim.keymap.set("n", "<leader>ff",  function() builtin.find_files({hidden=true}) end, {})

Edit: Change to keybind format Edit2: Wrap builtin in function call

0
  • Is there a way to save comment sorting somewhere in the app? Right now I have to switch it everytime I open a new post.
  • I am aware of the setting within the user profile to hide read post. But everytime I try to toggle it and save it, it throws some LemmyAPIException. Is anyone else experiencing ?
view more: next ›

skipperwannabe

joined 1 year ago