chore: simplify
This commit is contained in:
7 files changed
+49
-137
No files matched your search
@@ -11,7 +11,7 @@ Config.now(function()
|
||||
end)
|
||||
|
||||
-- Treesitter
|
||||
Config.now_if_args(function()
|
||||
Config.now(function()
|
||||
vim.pack.add({ 'https://github.com/nvim-treesitter/nvim-treesitter' })
|
||||
|
||||
local filetypes = {
|
||||
@@ -63,10 +63,10 @@ Config.later(function()
|
||||
local dap_signs = {
|
||||
DapBreakpoint = { text = '', texthl = 'DapBreakpoint' },
|
||||
DapBreakpointCondition = { text = '', texthl = 'DapBreakpointCondition' },
|
||||
DapLogPoint = { text = '', texthl = 'DapLogPoint' },
|
||||
DapStopped = { text = '', texthl = 'DapStopped', linehl = 'DapStoppedLine' },
|
||||
DapBreakpointRejected = { text = '', texthl = 'DapBreakpointRejected' },
|
||||
}
|
||||
|
||||
for name, sign in pairs(dap_signs) do
|
||||
vim.fn.sign_define(name, sign)
|
||||
end
|
||||
@@ -74,12 +74,6 @@ Config.later(function()
|
||||
require('dap').adapters.go = { type = 'server', host = '127.0.0.1', port = '${port}' }
|
||||
end)
|
||||
|
||||
-- Kulala
|
||||
Config.autocmd('FileType', 'http', function()
|
||||
vim.pack.add({ 'https://github.com/mistweaverco/kulala.nvim' })
|
||||
require('kulala').setup({ default_env = 'dev' })
|
||||
end, 'Setup Kulala', true)
|
||||
|
||||
-- Flutter
|
||||
Config.autocmd('FileType', 'dart', function()
|
||||
vim.pack.add({
|
||||
|
||||
Reference in new issue
Block a user