Commit Graph

81 Commits

Author SHA1 Message Date
974a2b86ed refactor(text-editing): Improve string-inflection package setup 2020-05-07 19:14:28 +01:00
92bc4af0fc fix(lang): Remove stray invalid character causing semi-random issues 2020-05-04 20:14:22 +01:00
48ad5c8993 chore(lang): Remove flycheck-golangci-lint package, lsp handles linting 2020-04-26 22:26:43 +01:00
54a9f62bbb chore(lang): Mark conf-mode as a built-in package for straight.el 2020-04-19 20:19:54 +01:00
f66d246337 feat(lang): Add nginx-mode and company-nginx packages 2020-04-19 20:18:54 +01:00
38e20c7d62 feat(lang): Add go-gen-test package for generating tabular tests
It uses gotests under the hood.
2020-03-30 22:08:05 +01:00
f0e8bd2388 chore(editor): Use siren-display-indentation exclusively
Instead of directly using the my current favorite indentation
highlighting package in various places, only use the
siren-display-indentation function. This lets me control it from a
single central place.
2020-03-30 21:57:32 +01:00
3e31bf0f2f chore(lang): Tweak company and whitespace options for golang
Setting company-echo-delay to 0.5 instead of 0 will help reduce unneeded
and intrusive code-completion popups while in the middle of typing. It
seemed like a good idea when I first set it, but after some use, no
thanks.

The whitespace-style tweak, effectively removes "indentation" from the
list of items whitespace-cleanup deals with on save. Indentation is
already being fixed by lsp-mode's before-save hooks, and
whitespace-cleanup was not very intelligent about it. It specifically
replaced all instances of four consecutive spaces in raw string
literals with a tab, which caused issues with multi-line raw strings
containing JSON.
2020-03-30 21:24:34 +01:00
5443b3dbc7 chore(lang): Tweaks projectile setup releated to dart and go 2020-03-30 21:24:01 +01:00
c7e507f5ba chore(editor): Switch back to highlight-symbol package
The auto-highlight-symbol package has a nicer interactive editing mode,
but it messes with the visual presentation for selected region and other
things. So let's go back to the less fancy but more reliable
highlight-symbol package.

Also let's properly disable both symbol highlighting packages in golang
and dart, where lsp-mode provides a better and more intelligent symbol
highlighting feature.
2020-03-30 21:21:10 +01:00
07521a1e71 feat(exports): Add pandoc exporting to org-mode and markdown-mode 2020-03-19 21:24:37 +00:00
faa82907d9 chore(lang): Set RET key for sh-mode-map with use-package 2020-03-19 21:24:37 +00:00
25152e1318 chore(lang): Improve go-mode setup and embrace lsp-mode
Use lsp-mode to format buffer on save, instead of gofmt or goimports.
2020-03-19 21:24:31 +00:00
efecb5172c chore(startup): Make various modules more lazy-loaded
This should improve startup speed a little bit.
2020-03-15 02:44:46 +00:00
af7323061f chore(lang): Disable ruby-specific keybinding
I don't use inf-ruby that much, so I'm fine with using it via M-x when
needed. Specially as a bunch of it's keybindings overrides a few global
keybindings I have set.
2020-03-06 18:38:31 +00:00
937e61d482 chore(lang): Disable use of spring with rspec-mode
Spring has changed and is no longer compatible with the way that
rspec-mode implements spring support. Hence we need to disable
rspec-mode's support and attempts at using Spring the wrong way.

Once rspec-mode has been updated to support spring again, we can
re-enable this.
2020-02-22 23:52:20 +00:00
6f3efe7233 chore(lang): Minor tweaks to major-mode file associations 2020-02-22 23:48:00 +00:00
eb792ce126 chore(lang): Improve plantuml-mode setup 2020-02-20 23:30:55 +00:00
d21a11dc71 chore(lang): Add support for mermaid diagrams
The org-babal features of mermaid-mode itself don't seem to work, but
the separate ob-mermaid does work.
2020-02-20 23:26:23 +00:00
951a40346e chore(packages): Disable packages I don't use 2020-02-04 10:08:41 +00:00
b13ca362cb feat(packages): Replace package.el with straight.el 2020-02-04 10:08:37 +00:00
ee916bb347 chore(lang): Update web-mode setup for Emacs 27
With Emacs 27 we are using the new built-in
display-fill-column-indicator mode. It does not have issues with
web-mode like fci-mode from the fill-column-indicator package does.
2020-01-28 21:54:24 +00:00
d50ffee618 feat(lang): Format all the things (almost) with prettier 2020-01-28 21:51:01 +00:00
b5cb054403 feat(lang): Add support for TOML files via toml-mode package 2020-01-28 21:49:26 +00:00
1469865826 feat(lang): Add config for nxml-mode 2020-01-28 21:48:30 +00:00
d4ee9cc0ab feat(lang): Format yaml files with prettier 2020-01-27 22:17:23 +00:00
46dac06dd8 chore(lsp): Use lsp-mode in ruby-mode 2020-01-27 01:20:08 +00:00
a0a72bddc5 feat(editor): Add siren-display-fill-column wrapper module
This module wraps around the fill-column-indicator and it's
fci-mode. This will enable easy switch-over to Emacs 27's native
display-fill-column-indicator feature.
2020-01-26 22:09:01 +00:00
e65698ee5b feat(lang): Add support for AppleScript 2020-01-26 21:50:12 +00:00
2c2e3dcb88 chore: Fix various missing require statements 2020-01-26 21:46:17 +00:00
abff344eb2 refactor(folding): Improve siren-folding module
- Add a siren-folding function which enables all folding-related modes,
  and change other modules to use this new function.
2020-01-26 21:39:46 +00:00
392d769816 feat(line-numbers): Swap linum for built-in display-line-numbers
Also create a new siren-display-line-numbers module and function that's
responsible for turning on the display of line numbers. Future changes
to how line numbers are displayed can now be done in a single place.
2020-01-26 20:44:13 +00:00
290ba13b1c chore: Improve loading of prog-mode features into non-prog-mode modes
There are a few major modes which are not based on prog-mode, that I
want to behave like prog-mode. Previously each did nearly all the same
setup that's done via the prog-mode hooks. Now instead let's actually
run runs the hooks for prog-mode.
2020-01-26 20:25:49 +00:00
e1d64b8d19 fix: File associations for gitconfig-mode and dockerfile-mode 2020-01-26 18:58:52 +00:00
8ed4a4e6f5 refactor: Visual indentation guides
- Switch from highlight-indentation package to highlight-indent-guides.
- Activate visual indentation in a prog-mode hook, rather than doing
  within each individual major mode. It was already done within all
  major modes based on prog-mode anyway.
- Add new siren-display-indetation module and function as a central way
  to enable visual indetation guides. This makes switching the
  underlying package at some point in the future much easier.
2020-01-26 18:53:44 +00:00
4e2caf188a Do not treat files with "node" in their name as JavaScript files 2019-11-22 16:59:39 +00:00
74bb673b40 Treat various tmux related files as shell files 2019-11-01 16:56:42 +00:00
54cf0b51f8 Refactor rspec-mode setup 2019-11-01 16:50:36 +00:00
358624f5aa Stop using lsp-mode for Ruby
It's just way too slow to use with Ruby.
2019-11-01 16:50:36 +00:00
f683ce205b Don't use use-package to setup before-save hooks
It causes the package to be lazy-loaded whenever the before-save hook
runs, even if you've not used the package in question yet.
2019-08-17 17:34:16 +01:00
39c6546671 Get rid of omnifmt that is no longer used 2019-08-17 17:32:09 +01:00
d67bfa6e4b Add module for yaml-imenu 2019-08-15 23:35:01 +01:00
e7d55655d7 Improve lsp-mode keybindings 2019-08-14 12:57:35 +01:00
ecd8b75e2c Add rbenv package to siren-ruby module 2019-06-18 10:38:58 +01:00
b489372b57 Add modules for dart and flutter 2019-06-10 20:11:24 +01:00
8687543af3 Wrap up stuff within use-package for the siren-golang module 2019-06-10 20:10:27 +01:00
57f670088d Use use-package's :custom and :custom-face options everywhere 2019-06-10 19:29:58 +01:00
c774b3ce5f Remove company-dabbrev-code stuff causing errors 2019-06-03 16:54:34 +01:00
264ed57bc6 Format markdown files with prettier on save 2019-06-03 16:53:27 +01:00
02669bbb6f Make keybindings for markdown-mode more consistent with other modes 2019-06-03 16:53:21 +01:00