Remove plugin and add tsc compiler

This commit is contained in:
Saeed Afzal
2025-03-12 13:50:37 +00:00
parent e2a7438807
commit 626db96425
6 changed files with 8 additions and 16 deletions

View File

@@ -1,17 +1,17 @@
local api = vim.api
api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
pattern = { "*.rs" },
pattern = "*.rs",
command = "compiler cargo"
})
api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
pattern = { "*.go" },
pattern = "*.go",
command = "Tabs 4"
})
api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
pattern = { "*.dart" },
pattern = "*.dart",
callback = function()
vim.cmd [[Spaces 2]]
vim.cmd [[compiler dart]]
@@ -22,3 +22,8 @@ api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
pattern = "*.md",
command = "set conceallevel=3"
})
api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
pattern = { "*.ts", "*.tsc" },
command = "compiler tsc"
})

View File

@@ -1 +0,0 @@
require "plugins.vimwiki"

View File

@@ -1,5 +0,0 @@
local g = vim.g
g.vimwiki_list = {
{ path = "~/Documents/Notes/vimwiki", index = "index" }
}