muntoo

joined 1 year ago
[–] [email protected] 3 points 1 year ago

Actual zombie.

[–] [email protected] 1 points 1 year ago

I tried this on Colemak and now my world is upside down.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

For autoformatting, try an autocmd:

autocmd BufWritePre * lua vim.lsp.buf.format()

Or alternatively, I use:

autocmd BufWritePre * lua require("utils").format()
-- Formats the current buffer
function utils.format()
  local whitelist = { "python", "rust" }
  if vim.tbl_contains(whitelist, vim.bo.filetype) then
    vim.lsp.buf.format()
  end
end
[–] [email protected] 2 points 1 year ago

Not sure if this helps, but here's my ordering:

        sorting = {
          priority_weight = 2,
          comparators = {
            require("copilot_cmp.comparators").prioritize,
            compare.offset,
            compare.exact,
            compare.recently_used,
            compare.score,
            compare.scopes,
            compare.locality,
            compare.kind,
            compare.sort_text,
            compare.length,
            compare.order,
          },
        },

...Realistically copilot is so good that it knows what the next word I'm completing is without even typing in a single character, so this doesn't bother me like it used to.

[–] [email protected] 1 points 1 year ago

I've read parts of this. People I've recommended it to tell me that it's easier to read if you already know the topics beforehand. I don't disagree, but it's still nice to see what a "20 page crash course" in any given area of mathematics looks like.

[–] [email protected] 2 points 1 year ago

Aw man, my prime number classifier is only 4.879% accurate. :(

[–] [email protected] 4 points 1 year ago (2 children)

Have you tried Krita?