Commit graph

15 commits

Author SHA1 Message Date
746f07efdb
feat: add treesitter highlighting for gotmpl
Add detection, treesitter highlighting, and tab spacing settings for
gotmpl files.
2024-08-21 18:39:42 +01:00
fa2e934d15
feat: add the toppair/peek.nvim plugin
Add and configure the toppair/peek.nvim plugin for markdown previewing.
2024-06-29 21:56:54 +01:00
98f7df1c0d
fix: keymapping for enabling inlay hints
Fixed the command to enable/disable inlay hints
2024-06-29 15:23:52 +01:00
587131d09d
chore: upgrade neovim plugins
Upgrade neovim plugins as part of the neovim upgrade to v0.10.0
2024-06-29 09:21:56 +01:00
c7e75819fb
refactor: move ftdetect to the lua directory 2023-09-23 15:02:42 +01:00
f2aa4651fa
fix: update LSP configuration
Changes:

- fix: replace on_attach and custom_attach with autocommand for LspAttach
  as recommended by the official documentation.
- fix: enable inlay hints for gopls.
- fix: add a keymap to toggle inlay hints for supported versions of
  neovim.
- fix: customise the NormalFloat background colour.
- fix: add LSP configuration for the Lua Language Server.

- refactor: move the lint autocommand to lint.lua
2023-09-23 13:10:38 +01:00
6b640b96f7
chore: upgrade folke/tokyonight.nvim to v2.1.0 2023-09-22 17:40:33 +01:00
53e001e681
feat: add mfussenegger/nvim-lint
- Add and configure mfussenegger/nvim-lint.
- Remove the golangci-lint-langserver from the LSP configuration.
2023-09-22 17:24:40 +01:00
2893ebee96
feat(go): organise imports on save 2023-05-17 22:37:30 +01:00
f1046c2a1f
fix: replace packer with lazy.nvim 2023-04-13 18:41:48 +01:00
7c27190ae4
fix: add treesitter parser for vimdoc 2023-04-11 07:36:36 +01:00
954f5f87f9
chore: update plugins
- Update plugins
- Disable unsupported lua lsp config
2023-04-10 13:25:44 +01:00
e92cf5bdb3
fix(lsp): add GOFLAGS environment setting to gopls
Add GOFLAGS environment setting to gopls and add the 'mage' tag so that
gopls works with magefiles.
2023-02-13 08:15:28 +00:00
3a210b1d56
fix(lsp.lua): set default log directory
Set the default log directory to /tmp if the LOG_HOME environment
variable is not set.

Fixes linux-home/nvim.d#3
2023-01-16 23:26:52 +00:00
0f18fb7cc5
fix: rename the config directory to nvim
Renamed the configuration directory to nvim so that, when extracted, the
correct directory is created.

Fixes linux-home/nvim.d#2
2023-01-16 19:13:25 +00:00