If a file name was foo.dot the current implementation generated a
foo.dot.svg. Fix it to just output a foo.svg.
Also fix a bug, where we were not considering the provided dotpath.
This allows us to have all the language server configuration in one
place and only import relevant LSP server configuration to pass to
vim.lsp.start in after/ftplugin.
While at it, we also enable deno support.
Would love to keep this enabled but let us face it, no one cares.
And if we want to use this account for sending to mailing lists
best to not enable this.
If no arguments are provided to the git difftool aliases, just invoke
it with the default `git difftool main...current-branch`. This is what
we will use most of the time anyway as this is exactly the command
needed when we want to review our own changes before pushing upstream
or reviewing some other merge request.
Packer does not seem to be maintained. Version 2 being developed
by Lewis @ https://github.com/lewis6991/packer.nvim has breaking
changes. Migrating to Lazy will open it's own can of worms & it
does not use packages. Funny thing is author of Packer himself
uses Lazy.
We really should not be needing anything fancy. neovim can load
packages automatically from packpath. All we need is something
which will clone the packages to packpath and all those will be
automatically loaded.
paq.nvim which we were using before packer was the right choice
and does the bare minimum we stated above.
Rest all with features like fancy lazy loading is nonsense.
Do not make packer optional and remove use of after, cmd, config,
run and requires.
This is in preparation for testing if we can move off the plugin
manager and use in built packages support for handling packages.
While at it, drop unnecessary comments.
Adapted from Heftig's (Jan Alexander Steffens) note on IRC
git config --global alias.mdlog 'log --reverse --pretty=format:"- **%s** %w(0,2,2)%+b"'
This will format commits in a way that's nice for pasting into MR descriptions,
assuming the commit body is markdown.
Usually used like below
git mdlog @{u}.. | wl-copy
git mdlog origin/main.. | wl-copy
This reverts commit 058c37882d.
It is still helpful to have this it seems as without this working on
projects which do not have editorconfig becomes a pain.