Commit graph

10 commits

Author SHA1 Message Date
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