Remove plugin and add tsc compiler
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -7,6 +7,3 @@
|
||||
[submodule "pack/vendor/start/neogit"]
|
||||
path = pack/vendor/start/neogit
|
||||
url = https://github.com/NeogitOrg/neogit.git
|
||||
[submodule "pack/vendor/start/vimwiki"]
|
||||
path = pack/vendor/start/vimwiki
|
||||
url = https://github.com/vimwiki/vimwiki.git
|
||||
|
||||
3
init.lua
3
init.lua
@@ -1,9 +1,6 @@
|
||||
-- Core configuration
|
||||
require "core"
|
||||
|
||||
-- Plugin configuration
|
||||
require "plugins"
|
||||
|
||||
-- Theme
|
||||
vim.cmd [[
|
||||
hi Normal guibg=none
|
||||
|
||||
@@ -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"
|
||||
})
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
require "plugins.vimwiki"
|
||||
@@ -1,5 +0,0 @@
|
||||
local g = vim.g
|
||||
|
||||
g.vimwiki_list = {
|
||||
{ path = "~/Documents/Notes/vimwiki", index = "index" }
|
||||
}
|
||||
1
pack/vendor/start/vimwiki
vendored
1
pack/vendor/start/vimwiki
vendored
Submodule pack/vendor/start/vimwiki deleted from 72792615e7
Reference in New Issue
Block a user