main
Alpha Chen 1 year ago
parent c2cf60c22f
commit f53c9db63d
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -97,6 +97,8 @@
(local isort (fmt "isort --quiet --profile black -")) (local isort (fmt "isort --quiet --profile black -"))
(local python [black isort]) (local python [black isort])
(local yamlfmt (fmt "yamlfmt -in"))
(setup-lsp :efm {:on_attach on-attach (setup-lsp :efm {:on_attach on-attach
:init_options {:documentFormatting true :init_options {:documentFormatting true
:hover true :hover true
@ -108,13 +110,15 @@
: python : python
:typescript javascript :typescript javascript
:typescriptreact javascript :typescriptreact javascript
:vue [prettier]}} :vue [prettier]
:yaml [yamlfmt]}}
:filetypes [:fennel :filetypes [:fennel
:javascript :javascript
:typescript :typescript
:python :python
:typescriptreact :typescriptreact
:vue]}) :vue
:yaml]})
(setup-lsp :ansiblels) (setup-lsp :ansiblels)
(setup-lsp :elmls) (setup-lsp :elmls)

@ -0,0 +1,2 @@
formatter:
retain_line_breaks: true
Loading…
Cancel
Save