Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit 29a9f4d

Browse files
init: enable lua & prettier lsp tools
default diagnostics and formatting work well
1 parent 5372ce5 commit 29a9f4d

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Added
44
- git: remove neogit SPC gn key binding (defined in `mappings.lua`)
55
- null-ls: use central markdownlint rules file in astronvim-config directory
6+
- init: enable lua & prettier lsp tools
67

78
# 2023-07-12
89

init.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ return {
3636
-- "go",
3737
},
3838
ignore_filetypes = { -- disable format on save for specified filetypes
39-
"lua",
39+
-- "lua",
4040
"markdown",
4141
},
4242
},
4343
disabled = { -- disable formatting capabilities for the listed language servers
4444
-- disable lua_ls formatting capability if you want to use StyLua to format your lua code
45-
-- "lua_ls",
46-
"prettier",
47-
"prettierd",
45+
"lua_ls",
46+
-- "prettier",
47+
-- "prettierd",
4848
},
4949
timeout_ms = 1000, -- default format timeout
5050
-- filter = function(client) -- fully override the default formatting function

0 commit comments

Comments
 (0)