Commit Graph

1525 Commits

Author SHA1 Message Date
dbe14e827e fix(snippets/org-mode): update gfm snippet so it actually works 2022-03-14 21:16:14 +00:00
e8978f7b44 feat(projects): enable all-the-icons in minibuffer completion 2022-03-14 21:16:14 +00:00
106245af8b feat(completion): improve completion-at-point/company candidates
This applies especially in lsp-mode. Yasnippet snippets now show as
completion candidates if the word at point exactly matches a snippet
keyword, otherwise it'll fallback to normal lsp backed completion.

And it also supports completing file/directory names now too while
lsp-mode is active.

All this is done by modifying completion-at-point-functions after
lsp-mode has done it's trickery with it. Along with a dirty hack to
company-yasnippet to make it only activate on exact matches. Without
this hack, lsp backed completion rarely activates as snippets would have
higher priority if there's any partial matches.
2022-03-14 21:16:13 +00:00
b742c9026f feat(snippets): disable prog-mode snippets from yasnippet-snippets
The prog-mode snippets are very basic, a bit a annoying, as they
contain a couple of single-character snippets which conflict with common
variable names in Go.
2022-03-14 11:58:47 +00:00
5704a2a0b6 chore(snippets): minor tweaks and improvements to custom snippets 2022-03-14 11:58:47 +00:00
7da944b04d feat(language/go): add -race flag to gotest invocations 2022-03-14 11:58:47 +00:00
4ea4f6dc95 chore(completion): remove needless company-mode references
Since we enable global-company-mode, explicitly enabling it in the setup
for various major modes does nothing. But it does tie the code to
company mode, making it harder to try alternatives like corfu.
2022-03-14 11:58:47 +00:00
44ce6c5787 chore(release): 0.8.15 v0.8.15 2022-03-10 21:15:16 +00:00
8be0dbb4f1 chore(packages): update lock file 2022-03-10 21:14:48 +00:00
246a459622 fix(navigation): remove ctrlf package in favor of isearch
Visually ctrlf is very nice, but it seems one of it's features is to
stay active in the mini-buffer until explicitly cancelled. This can
easily lead to annoyance if you mess up a C-x C-s keybind and then move
on to other buffers and such, as ctrlf will still be active.

Regular isearch however will dismiss itself as soon as you do anything
other than typing in a search query. Hence causing a lot less annoyance
for me.
2022-03-10 21:11:52 +00:00
92c16d4dcb feat(language/go): use tree-sitter-mode and tree-sitter-hl-mode 2022-03-10 21:11:26 +00:00
11a1a44de7 chore(packages): remove direx from lock file 2022-02-28 11:08:35 +00:00
f39714b1ca feat(core/editor): disable graphical dialog boxes 2022-02-23 12:11:54 +00:00
6f422773a5 feat(language/markdown): enable polymode in markdown buffers 2022-02-23 12:11:52 +00:00
75543de052 feat(language/ssh-config): add custom file path to mode list 2022-02-23 12:11:18 +00:00
ae6877668f chore(projects): remove left-over "C-c b" keybinding from projectile
"C-c b" is now handled by consult via a custom
siren-consult-projectile-buffer function.
2022-02-23 12:11:17 +00:00
96d5bab074 fix(navigation): disable direx as it is broken on recent Emacs 29.x builds 2022-02-23 12:11:17 +00:00
2554669fea feat(language/go): improve and fix usage of gotest package
- Fix issue where gotest could not be used from non-test files in Emacs
  28.x or later.
- Bind "C-c , t" to ff-find-other-file to mimic behavior in Ruby via
  rspec-mode.
- Configure gotest to always run tests with "-count=1" to avoid cached
  results, so it's easier to notice and handle flickering tests.
2022-02-23 12:11:17 +00:00
c845af8316 chore(packages): update lock file 2022-02-22 19:24:27 +00:00
a1f30f6d15 fix(env): initialize env from shell in pgtk window-system 2022-02-22 19:21:40 +00:00
a0bc64107c feat(core): update linux font and fullscreen command 2022-02-22 18:42:54 +00:00
29cb42d631 chore(release): 0.8.14 v0.8.14 2022-02-17 22:12:41 +00:00
1db4018497 feat(nativation/consult): custom groups for consult-buffer
Using consult-buffer to switch between buffers is now project aware,
meaning when current buffer is in a project, the list of buffers is
split into two groups; project buffers, and other non-project buffers.

The project buffers group is above the other buffers group, meaning it's
very easy to switch to other buffers within the same project, while
still being able to switch to non-project buffers too.

When current buffer is not part of a project, all buffers are shown
together in a single completion group.
2022-02-17 22:08:03 +00:00
1a41eea77e fix(nativation/helm): resolve helm loading issue after update 2022-02-09 00:35:39 +00:00
ecddb8db36 chore(packages): update lock file 2022-02-09 00:35:08 +00:00
4a552aa96d fix(editor/vertico): resolve race-condition issue with projectile-switch-project
Occasionally right after starting Emacs, it was possible to issue a
projectile-switch-project command which ran before my hacky
vertico-directory advice had been added. This should ensure the advice
gets added earlier.
2022-02-07 22:42:17 +00:00
d6d7b3a450 fix(docs/helpful): add workarounds for recent Emacs 29.x issues
There's been a couple of recent changes in Emacs' master branch which
has affected the helpful package. These changes work around both issues,
and seems to let helpful keep working as before.
2022-02-07 22:40:26 +00:00
f496e14710 feat(themes): add lsp-ui-doc-border styling to override theme 2022-02-07 11:03:49 +00:00
27fae46664 fix(ui): prevent tab-bar being visible in lsp-ui-doc child frame 2022-02-07 10:45:42 +00:00
f79cb11fa2 chore(language/go): update lsp-mode setup for gopls 2022-02-07 10:44:17 +00:00
96d7d3cb63 chore(font): improve font setting logic with list of preferred fonts 2022-02-07 10:43:04 +00:00
b428d262ff feat(font): change default font "Menlo" to "Menlo Nerd Font Mono" 2022-01-29 01:51:03 +00:00
58f2636108 chore(release): 0.8.13 v0.8.13 2022-01-26 23:04:22 +00:00
e5d24590e5 chore(packages): update lock file 2022-01-26 23:03:25 +00:00
ddc99acaa0 feat(workspaces/tab-bar): display tab-bar and make it pretty
I'm giving the visual tab-bar a try, by making it less ugly than it is
by default. Hopefully I won't mind it taking up one full row at the top
of the frame.
2022-01-26 22:54:37 +00:00
5cd56e866b chore(navigation/centaur-tabs): minor customization tweaks 2022-01-26 22:49:38 +00:00
fd1072ae8c chore(editor/marginalia): minor customization tweaks 2022-01-26 22:48:39 +00:00
ef9adfd39b chore(packages): override company-nginx recipe to fix repo
The original repo has been deleted, so we need to point it at a mirror.
2022-01-26 22:46:44 +00:00
29900e5d2a chore(packages): update lock file 2022-01-25 12:27:44 +00:00
0312a360b4 feat(projects): switch from helm-projectile to regular projectile commands
With vertico, orderless and marginalia, I feel the regular projectile
find-file and switch-project commands offer just as good if not better
completion than helm-projectile commands do. Hence the switch.
2022-01-25 12:26:09 +00:00
d35ddecfbd chore(release): 0.8.12 v0.8.12 2022-01-19 16:41:54 +00:00
c80b4e24fa fix(editor/vertico): cleanup if projectile command is canceled 2022-01-18 03:04:53 +00:00
c7f63de6f2 chore(release): 0.8.11 v0.8.11 2022-01-18 01:30:13 +00:00
1452d750fc chore(theme): tweak vertical-bar color in console 2022-01-18 00:51:34 +00:00
309bc2a611 feat(editor/vertico): improve extension setup
Override default straight recipe for vertico to expose extensions as
packages.

Also create hacky vertico-directory-mode to easily toggle
vertico-directory features on and off.

vertico-directory-mode is then used by a projectile advice to
temporarily disable vertico-directory features while completing results
from projectile. This is required to avoid breaking the
projectile-switch-project and related commands, as the project list is
not a set of files, but vertico-directory-enter thinks it is.
2022-01-18 00:51:34 +00:00
bd36da4bfe fix(navigation/helm): set helm-find-files to C-x f
This allows C-x C-f to be bound to find-files, which now uses vertico to
great effect.
2022-01-17 22:35:25 +00:00
b5daa4f2e5 fix(navigation/helm): add require helm-mode to fix errors 2022-01-17 22:33:28 +00:00
fdc443ea74 feat(languages): enable lsp-mode in Dockerfiles and web-mode buffers 2022-01-16 12:17:36 +00:00
5a464d6562 chore(languages): simplify terraform configuration
lsp-mode now supports terraform-lsp and terraform-ls, so there's no need
to define a custom language server for terraform-ls.
2022-01-16 11:56:50 +00:00
28846fa0c7 chore(release): 0.8.10 v0.8.10 2022-01-16 03:39:16 +00:00