Commit Graph

288 Commits

Author SHA1 Message Date
Jim Myhrberg
e97183ee71 feat(language/go): enable lsp-mode in go.mod and go.work files 2024-08-10 23:50:13 +01:00
9fdf08a804 feat(language/go): remove inlay hints and add commended out gopls debug settings 2024-08-06 23:49:09 +01:00
2f17a18122 chore(language/go): remove custom tree-sitter highlight pattern
This pattern is part of the official highlight queries, and has been for
some time now.
2024-08-06 23:10:44 +01:00
224a6f659a feat(language/go): basic prep and setup to test go-ts-mode 2024-08-06 23:10:08 +01:00
Jim Myhrberg
ca739bac80 feat(language/terraform): re-enable lsp-mode, seems more stable now 2024-08-06 18:52:45 +01:00
Jim Myhrberg
72cf92293e feat(language/ruby): various tweaks for testing ruby-ts-mode and other improvements 2024-08-06 18:51:14 +01:00
Jim Myhrberg
9ba69c8e62 fix(language/toml): switch back to conf-toml-mode 2024-07-15 10:50:21 +01:00
Jim Myhrberg
d0ef255906 feat(language/erb): setup linting and formatting of ERB files via erblint 2024-07-12 02:00:32 +01:00
Jim Myhrberg
9e6ce1eaa8 fix(language/yaml): provide filename to actionlint linter 2024-05-27 10:30:40 +01:00
fe47210ec8 chore(language/toml): don't install conf-toml-mode if toml-ts-mode is available 2024-05-26 23:57:03 +01:00
1dfd9d28a0 fix(language/yaml): define custom tree-sitter queries
The upstream queries have been modified causing a dramatic change to the
visual coloring of syntax highlighting of YAML files when using
tree-sitter-mode. Hence I'm here setting custom highlight queries that
work my preferred way.
2024-05-13 01:21:18 +01:00
6faa4d9f65 fix(language/terraform): disable lsp-mode and tree-sitter-mode
Both cause annoyances and freezes, to the point they're generally not
worth using right now.
2024-05-12 13:52:32 +01:00
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
95600262c4 chore(language/nginx): disable remove company-nginx
The git repo seems to not exist, and I rarely ever edit Nginx config
files, so this package can go.
2023-12-12 18:19:49 +00:00
e5efb2d190 fix(language/dockerfile): use dockerfile-mode again
dockerfile-ts-mode is still not quite as mature as I would like.
2023-12-07 00:09:50 +00:00
07794bb8be fix(language/go): disable lsp semantic tokens 2023-11-20 00:55:10 +00:00
527934de93 fix(language/vue): fix vue-mode setup by running prog-mode-hook 2023-11-20 00:51:26 +00:00
b7c7bef47f chore(deps): upgrade packages tweak config for lsp-mode changes
Minor changes were needed due to recent lsp-mode changes. My custom the
bufls and golangci-lint clients are now part of lsp-mode.

Also, within Ruby buffers I need to disable the vue-semantic-server
client, as that seems to take priority over Ruby clients in Rails
projects that use Vue.
2023-11-20 00:48:31 +00:00
359e692d8e feat(language/protobuf): enable use of bufls language server 2023-09-27 11:54:12 +01:00
d405e962da feat(language/xml): add xmllint formatter setup and bind to C-c C-f 2023-09-13 15:16:39 +01:00
70a5d0f0af feat(language/ruby): remove rufo, as I haven't used it for years 2023-08-01 01:48:00 +01: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
b0cc7be163 fix(language/terraform): fix setup func name typo to avoid conflict with rust 2023-08-01 01:34:15 +01:00
a64284d754 fix(language/dockerfile): ensure hadolint executable is found 2023-08-01 01:32:25 +01:00
f30f8ab728 fix(language/ruby): prevent use of lsp-rename in ruby buffers
Solargraph implements the rename feature, but it is horribly broken and
actively destructive causing random changes all over the whole project
whenever it is used.
2023-06-06 17:43:27 +01:00
c4521500d1 fix(language/go): correctly set go-test-args variable 2023-06-01 01:37:04 +01:00
01c5018702 feat(language/go): expand lsp-golangci-lint to a proper lsp-mode client 2023-06-01 01:27:00 +01:00
431692af1a feat(language/csv): add setup for csv-mode 2023-05-17 13:46:15 +01:00
15278d5abe feat(language/yaml): lint GitHub Action workflows with actionlint 2023-05-10 00:23:28 +01:00
146d2311a9 chore(treesit): tweak setup of built-in treesit modes 2023-05-09 01:30:18 +01:00
5d65b32d1a feat(lsp): enable inlay hints 2023-05-09 01:02:49 +01:00
b38a6abc4f chore(language/dockerfile): wrap hadolint flycheck in a function 2023-04-25 03:19:49 +01:00
b94e4fc4e4 chore(language/haskell): explicitly ensure hs-minor-mode is enabled 2023-04-25 02:18:40 +01:00
6434035d60 fix(language/go): fix go-playground setup 2023-04-25 02:17:04 +01:00
05c45bee59 feat(language/go): enable extra gopls analyzers and code lenses 2023-04-25 02:13:28 +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
c137dde815 feat(language/lua): improve lsp-mode setup and set tab-width to 2 2023-04-25 02:03:46 +01:00
0eedc37603 feat(editor): add custom yank-indent package
When yank-indent-mode is enabled, yanked (pasted) text is indented based
on the indent rules of the current major mode. It has a
global-yank-indent-mode too which by default excludes a long list of
known indentation sensitive modes with which this approach does not work
very well.

It is based on some random hacky snippets elisp I've been using for over
a decade. Said snippets are themselves based on some random snippets I
found online, and since morphed into the weird monster they had become.
2023-04-16 03:13:14 +01:00
cad2638c2d fix(language/typescript): add setup hook to correct major mode 2023-04-14 02:00:18 +01:00
7f618b309c feat(language/toml): use toml-ts-mode if available 2023-04-14 01:59:49 +01:00
201bb6d394 feat(language/lua): set tab-width to 4 2023-04-14 01:56:25 +01:00
0886d77f32 feat(language/go): enable gotest to pass GOLDEN_UPDATE=1 env var 2023-04-14 01:55:41 +01:00
42ed25d165 feat(language/terraform): use lsp-mode in terraform buffers 2023-04-14 01:54:18 +01:00
e4f9e00262 feat(lsp): disable semantic tokens in Dockerfile and JS files 2023-04-14 01:53:41 +01:00
98c0d16b23 feat(language/conf): handle .tool-versions files with conf-mode 2023-04-14 01:48:09 +01:00
32dae1d558 fix(language/rust): correctly disable lsp-semnatic-tokens-mode 2023-03-09 21:17:21 +00:00
d27c0bc67e fix(language/rust): fix typo in function name 2023-03-07 23:35:03 +00:00
26d300f391 feat(language/markdown): enable whitespace-mode 2023-02-26 17:28:41 +00:00