df10665d0c
fix(text-editing/treesit): resolve issues with treesit-auto package
...
When the global-treesit-auto-mode is enabled, was getting lots of errors
related to an infinite loop whenever opening a buffer supported by one
of `*-ts-mode` modes. Instead, I now take a more manual and intentional
approach to using the built-in treesit modes for specific languages.
2023-12-15 14:55:22 +00:00
a10f797d42
fix(language/typescript): disable lsp-semantic-tokens
...
They are laggy and annoying.
2023-08-01 01:37:03 +01:00
de391e00ea
feat(language/typescript): enable lsp-format-on-save
2023-08-01 01:36:44 +01:00
de1fd38481
fix(language/typescript): ensure it loads correctly
2023-08-01 01:35:36 +01:00
146d2311a9
chore(treesit): tweak setup of built-in treesit modes
2023-05-09 01:30:18 +01:00
90fd64ffab
chore(language/typescript): remove needless hook setup
...
tsx-ts-mode inherits from typescript-ts-mode, so it has the same hooks.
2023-04-25 02:04:19 +01:00
cad2638c2d
fix(language/typescript): add setup hook to correct major mode
2023-04-14 02:00:18 +01:00
cead803781
feat(language/typescript): switch to new typescript-ts-mode
...
As typescript-mode has effectively been deprecated, let's switch to the
new typescript-ts-mode in Emacs 29.x.
2023-02-08 22:43:46 +00:00
03efc3b847
fix: remove references to deprecated and removed siren functions
2022-12-04 01:21:54 +00:00
9654403bee
feat(editor): enable subword-word globally in all buffers
2022-12-04 01:14:57 +00:00
63d0345b21
chore(editor/origami): move setup to a central list of hooks
2022-12-04 00:27:38 +00:00
5e47cd9a46
chore(formatting/prettier-js): move setup to a central list of hooks
2022-12-03 23:38:39 +00:00
044c67d379
chore(tree-sitter): move setup to a central list of hooks
2022-12-03 23:34:52 +00:00
7c253d986c
feat(editor): improve code folding with origami
...
Add and configure origami, and enable it for majro modes where it seems
to do a good job, and keep using hideshow for other major modes.
2022-07-20 22:02:12 +01:00
66cf3de9dc
chore(languages): tidy up buffer-local setq statements
2022-07-18 22:20:08 +01:00
2b39d5b0d7
chore(use-package): use :preface in favor of :init when defining things
2022-04-22 23:25:56 +01:00
d86f6c4490
feat(language): enable tree-sitter for most languages that are supported
2022-04-19 01:12:42 +01:00
a8618938bf
feat(core): use general.el for keybind definitions nearly everywhere
...
Primarily this replaces :bind with :general in all use-package calls.
2022-03-14 21:16:15 +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
12517bf9e3
chore(lsp): use lsp-deferred instead of lsp everywhere
...
Ensure language servers only start when a buffer is visible. This helps
with desktop restore speed, as various language servers do not start all
at the same time.
2020-11-09 10:47:39 +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
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
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
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
61c14f615f
Enable lsp-mode for CSS, JS, and TypeScript
2018-12-20 01:11:27 +00:00
1cb89d07ce
Add support for working with typescript
2018-11-06 11:27:42 +00:00