Compare commits

..

No commits in common. "a08734916cd129744b35f8adb6930780dd1d22e9" and "4be4a7979f4f0a7589bcdaa0292d659f8e6f41a7" have entirely different histories.

3 changed files with 2 additions and 47 deletions

View file

@ -85,19 +85,12 @@
lsp_lines-nvim lsp_lines-nvim
lsp-inlayhints-nvim lsp-inlayhints-nvim
# Copilot
copilot-lua
copilot-cmp
# debugging # debugging
nvim-dap nvim-dap
nvim-dap-ui nvim-dap-ui
# vim-wiki # vim-wiki
vimwiki vimwiki
# firenvim
firenvim
]; ];
withNodeJs = true; withNodeJs = true;
@ -144,12 +137,8 @@
require("local_toggleterm") require("local_toggleterm")
require("local_notify") require("local_notify")
require("local_comment") require("local_comment")
if vim.g.started_by_firenvim ~= true then
require("local_lualine") require("local_lualine")
require("local_tabline") require("local_tabline")
end
require("local_indent-blankline") require("local_indent-blankline")
require("local_gitsigns") require("local_gitsigns")
require("local_luasnip") require("local_luasnip")
@ -169,8 +158,6 @@
require("nvim-autopairs").setup({}) require("nvim-autopairs").setup({})
require("neogen").setup({ snippet_engine = "luasnip" }) require("neogen").setup({ snippet_engine = "luasnip" })
require("local_firenvim")
''; '';
}; };
}; };
@ -199,5 +186,4 @@
home.file.".config/nvim/lua/local_dap.lua".source = ./dap.lua; home.file.".config/nvim/lua/local_dap.lua".source = ./dap.lua;
home.file.".config/nvim/lua/local_illuminate.lua".source = ./illuminate.lua; home.file.".config/nvim/lua/local_illuminate.lua".source = ./illuminate.lua;
home.file.".config/nvim/lua/local_wilder.lua".source = ./wilder.lua; home.file.".config/nvim/lua/local_wilder.lua".source = ./wilder.lua;
home.file.".config/nvim/lua/local_firenvim.lua".source = ./firenvim.lua;
} }

View file

@ -1,25 +0,0 @@
if vim.g.started_by_firenvim ~= true then
return
end
vim.api.nvim_create_autocmd('UIEnter', {
callback = function()
local client = vim.api.nvim_get_chan_info(vim.v.event.chan).client
if client ~= nil and client.name == "Firenvim" then
vim.o.laststatus = 0
end
end
})
vim.api.nvim_create_autocmd({ 'TextChanged', 'TextChangedI' }, {
callback = function()
if vim.g.timer_started == true then
return
end
vim.g.timer_started = true
vim.fn.timer_start(500, function()
vim.g.timer_started = false
vim.cmd('silent write')
end)
end
})

View file

@ -7,11 +7,6 @@ end
local cmp = require("cmp") local cmp = require("cmp")
local luasnip = require("luasnip") local luasnip = require("luasnip")
local copilot_lua = require("copilot")
local copilot_cmp = require("copilot_cmp")
copilot_lua.setup({})
copilot_cmp.setup({})
cmp.setup({ cmp.setup({
snippet = { snippet = {
@ -20,7 +15,6 @@ cmp.setup({
end end
}, },
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = "copilot" },
{ name = "nvim_lsp" }, { name = "nvim_lsp" },
{ name = "nvim_lsp_signature_help" }, { name = "nvim_lsp_signature_help" },
{ name = "luasnip" }, { name = "luasnip" },