summaryrefslogtreecommitdiff
path: root/fnl/plugins/lsp
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-05-28 22:00:09 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-05-28 22:00:09 +0200
commit3f539d94dfb004f56b0382971500408e49c4245b (patch)
tree92c936b9a0c22fefa4299826f3e002ec3a80f352 /fnl/plugins/lsp
parent55a50821a7ecd5b4c1008515e88d126fd04c813b (diff)
Include BufNewFile event
Diffstat (limited to 'fnl/plugins/lsp')
-rw-r--r--fnl/plugins/lsp/lspconfig.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/plugins/lsp/lspconfig.fnl b/fnl/plugins/lsp/lspconfig.fnl
index b6949ec..a778eb3 100644
--- a/fnl/plugins/lsp/lspconfig.fnl
+++ b/fnl/plugins/lsp/lspconfig.fnl
@@ -17,7 +17,7 @@
(mason-lspconfig.setup)))
{1 :neovim/nvim-lspconfig
- :event :BufReadPost
+ :event [:BufReadPost :BufNewFile]
:dependencies [:mason.nvim
:williamboman/mason-lspconfig.nvim
:b0o/schemastore.nvim