Commit Graph

619 Commits

Author SHA1 Message Date
46a8169ed3 fix(lsp): only use lsp-mode in bash and sh based sh-mode buffer 2021-08-07 17:12:36 +01:00
8096cb34ab feat(misc): add lorem-ipsum package 2021-08-03 01:27:39 +01:00
17f63255d9 feat(lang): improve jsonnet-mode setup with format on save, and more 2021-08-03 01:27:39 +01:00
0435cb28d6 fix(editor): do not highlight indentation levels on large files
This prevents larger files from causing latency and lag, especially
large YAML files, like generate Kubernetes menifests.

This fix here simply does not enable highlighting indentation levels if
the file is above 100KB in size. In my experience it's rare a file meant
to be manually edited by a human is above 100KB in size.
2021-08-03 01:27:39 +01:00
14f394c7ca feat(lsp): allow C-c C-f to perform extra formatting not done by on-save hook 2021-06-29 00:36:36 +01:00
850c9dbbdd feat(lang): enable lsp-mode for bash and sh script files in sh-mode 2021-06-29 00:35:57 +01:00
79007f6687 chore(languages): remove temporary dockerfile-mode auto-mode-alist tweaks
The PR that addressed the issue was merged long ago, and I simply forgot
to remove the temporary fix :P
2021-06-24 22:48:20 +01:00
0e6a7b6290 feat(editor): switch to vertico+orderless from selectrum+prescient
Personally I find orderless is giving me better results than prescient
when fuzzy/flex matching is enabled. Hence the switch to orderless.

I also split the modules apart to ensure, that selectrum, vertico,
prescient and orderless can be mixed and matched however and work
correctly.

And the switch from to vertico from selectrum is mostly cause I like
it's wraparound/cycle feature, where end/beginning of the candidate list
will wrap around.
2021-06-24 22:39:17 +01:00
cb1296ed9c feat(completion): insert current company-mode selection with tab
THis is in addition to the RET keybinding.
2021-06-24 22:15:38 +01:00
c9a05afbdf feat(lsp); tweak lsp-ui-sideline to only show errors
The sideline hover stuff about all objects on the current line are
rather noisy, and most of the time I only care about the errors.
2021-06-24 22:14:39 +01:00
f77a3150b7 chore(lsp): improve lsp and formatting behavior of js, json and yaml modes 2021-06-24 22:13:57 +01:00
654eae72ff chore(editor): extract recentf, savehist and uniquify to seperate modules 2021-06-24 19:16:16 +01:00
b53cef4d30 fix(navigation): make helm play nicer with treemacs when helm-posframe is enabled
When helm-posframe is enabled, there's no need to to hide treemacs or
neotree before showing helm.
2021-06-22 02:08:52 +01:00
688b14a775 fix(navigation): workaround dired+ incompatibility with dired in master branch
Commit 194d54a929a83fede75d618b104acd1b544feb10 changed behavior of
deletion functions in Dired, causing Dired+ to break deletion, as it
wholesale replaces a bunch of Dired functions with it's own
implementation. For now I've just copied the Dired variants of those
functions to restore them.
2021-06-21 03:51:16 +01:00
2d98386d24 chore: fix whitespace 2021-06-20 02:47:59 +01:00
ee895054fd fix(editor): ensure selectrum current item always highlights full line 2021-06-20 01:27:15 +01:00
07b0013c75 feat(editor): add config for vertico + orderless as a alternative to selectrum
I still prefer selectrum for the time being, but I've written the
config, might as well commit it for potential future use or
experimentation.
2021-06-20 01:27:15 +01:00
d7c90818f1 chore(version-control): remove defunct comment
The fringe bitmaps are no longer based on those from doom-emacs, they're
custom and super simple.
2021-06-19 19:47:48 +01:00
b647d6447b fix(nativation): make consult-buffer (C-x b) work before projectile is loaded 2021-06-19 19:45:55 +01:00
689dc6a1e4 fix(editor): improve filtering performance of M-x when marginalia is active
The default 'marginalia-annotate-command annotation method for M-x
candidates has a small but perceivable performance impact as you
type. The 'marginalia-annotate-binding method does not have any
perceivable performance impact.

Also I only really care about seeing keybindings in the M-x list, I can
definitely live without command descriptions.
2021-06-19 19:42:22 +01:00
d90e559047 feat(navigation): enabled hl-line-mode in dired 2021-06-17 20:54:46 +01:00
4b228ae317 chore(lang): tweak company-mode idle-delay for Go 2021-06-17 20:49:26 +01:00
6a690be6ee chore(linting): reduce idly delay of flycheck 2021-06-17 20:26:51 +01:00
f2614ab89b chore(navigation): place ivy related keybinding within ivy module 2021-06-17 20:26:23 +01:00
27a7c5cb20 chore(deps): update xwidget-plus which is now named xwwp 2021-06-17 20:25:27 +01:00
49cef56c82 feat(editor): add embark
This is a basic setup, as I'm not very familiar with what is doable with
embark. It also takes over the goto-chg keybindings, cause that package
rarely worked correctly, so I almost never used it.
2021-06-17 20:25:26 +01:00
354ed23d21 feat(navigation): add consult 2021-06-17 20:19:26 +01:00
5878449963 feat(navigation): add ctrlf-mode, a isearch replacement 2021-06-17 20:18:09 +01:00
63b5441deb feat(navigation): use helm-posframe 2021-06-17 20:16:52 +01:00
93c22e1bb9 feat(editor): replace ido and amx with selectrum, prescient and marginalia 2021-06-17 20:13:57 +01:00
38544ef7f2 feat(lang): improve yaml formatting and enable lsp-mode 2021-06-14 10:29:02 +01:00
263400c4c1 fix(editor): disable undo-tree in terminal buffers 2021-05-24 19:11:12 +01:00
a07cc6746f feat(formatting): swap from prettier.js to lsp-mode to format js/json 2021-05-22 14:36:16 +01:00
b772a6a61d chore(formatting): expand reformatter macro on first use rather than init 2021-05-22 14:34:18 +01:00
c8196d7590 fix(version-control): set correct diff-hl mode after desktop-read
The state of using diff-hl using the margin or fringe ends up within
desktop-mode save files, so let's force set diff-hl to use margin or
fringe based on if we have a window-system or not, both after diff-hl is
loaded, and also as a desktop-after-read hook.
2021-05-15 18:22:15 +01:00
d3326fd1f2 chore(workspaces): minor tweaks to desktop-mode config 2021-05-15 01:03:48 +01:00
f20ebd3f1e fix(workspaces): set base desktop base dir correctly
And also filter out any items which are not directories from the desktop
selection list.
2021-05-15 01:02:25 +01:00
e434e41d97 feat(version-control): improve styling of diff-hl indicators 2021-05-15 01:00:27 +01:00
f50e2d925e feat(linting): simplify warning arrow glyph used by flycheck 2021-05-15 00:59:39 +01:00
0ef8ea787f feat(lang): enable lsp-mode in lua-mode 2021-05-10 11:05:13 +01:00
fc0e0acd65 feat(navigation): improve list of files searched by helm-ag via ripgrep 2021-05-08 22:10:25 +01:00
b7d914c51e feat(formatting): use whitespace-clean-mode
This should offer a more reliable means of running `whitespace-cleanup`
on buffer save than whitespace-mode's whitespace-action setting. Also it
allows for easily toggling whitespace clean up off by disabling
whitespace-clean-mode.
2021-04-25 22:44:26 +01:00
cacb7d2fe9 feat(org): enable left/right shift keybinds which are available everywhere else 2021-04-20 01:32:11 +01:00
c5ffefdb97 feat(lsp): enable lsp-semantic-tokens
This only works with language servers that support semantic tokens. If
the language server does not support it, this setting has no effect.
2021-04-20 01:32:11 +01:00
c8187b4be8 feat(org): expand and tweak org-src and org-babel setup 2021-04-20 01:32:11 +01:00
1fade1ab4d feat(lang): ensure markdown formatting respects local fill-column width
Previously prettier would always format markdown files to 80 character
long lines. Now it reads the character width from the fill-column
variable in such a way that fill-column can be set with dir-local
variables.
2021-04-16 12:37:11 +01:00
bcfbc23a15 chore(version-control): add ~/.config/emacs-siren to magit repo dirs 2021-04-15 11:01:02 +01:00
04daa19768 chore(version-control): remove unnecessary require of magit 2021-04-15 10:59:33 +01:00
cb2fda4eba chore(deps): don't load polymode as it's not actually used by anything 2021-04-15 10:55:34 +01:00
2d39ce9fc1 feat(shell): improve vterm setup making vterm-copy-mode easier to use 2021-04-12 10:14:00 +01:00