some changes

This commit is contained in:
2024-10-05 19:44:15 +04:00
parent f193dfcaab
commit 13c47f6f77
6 changed files with 75 additions and 42 deletions

View File

@@ -0,0 +1,17 @@
-- Autocmds are automatically loaded on the VeryLazy event
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
-- Add any additional autocmds here
vim.api.nvim_create_autocmd(
{
"BufNewFile",
"BufRead",
},
{
pattern = "*.typ",
callback = function()
local buf = vim.api.nvim_get_current_buf()
vim.api.nvim_buf_set_option(buf, "filetype", "typst")
end
}
)

View File

@@ -6,10 +6,21 @@ lvim.plugins = {
"eslint-lsp",
"js-debug-adapter",
"prettier",
"tinymist",
"typescript-language-server",
}
}
},
{
"kaarmu/typst.vim",
},
{
"neovim/nvim-lspconfig",
dependencies = {
"mason.nvim",
"williamboman/mason-lspconfig.nvim",
},
},
{
'kevinhwang91/nvim-ufo',
},