Compare commits

...

5 commits

Author SHA1 Message Date
b38d76e164
[git] added allowed_signers 2024-10-11 15:15:26 +01:00
a7f463f110
[wezterm] disabled ligatures 2024-10-11 15:14:24 +01:00
5144c74839
[nvim] mini.ai and treesitter-textobjects 2024-10-11 15:13:51 +01:00
cf5d16e792
[nvim] dap and dap ui 2024-10-11 15:13:34 +01:00
3f30d890f7
[nvim] flutter tools 2024-10-11 15:12:53 +01:00
5 changed files with 62 additions and 2 deletions

View file

@ -222,6 +222,48 @@ return {
version = '^5',
lazy = false
},
{
'akinsho/flutter-tools.nvim',
lazy = false,
dependencies = {
'nvim-lua/plenary.nvim',
'stevearc/dressing.nvim', -- optional for vim.ui.select
},
config = true,
},
{
"rcarriga/nvim-dap-ui",
event = "VeryLazy",
dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" },
config = function()
local dap = require("dap")
local dapui = require("dapui")
dapui.setup()
dap.listeners.after.event_initialized["dapui_config"] = function()
dapui.open()
end
dap.listeners.before.event_terminated["dapui_config"] = function()
dapui.close()
end
dap.listeners.before.event_exited["dapui_config"] = function()
dapui.close()
end
end
},
{
"jay-babu/mason-nvim-dap.nvim",
event = "VeryLazy",
dependencies = {
"williamboman/mason.nvim",
"mfussenegger/nvim-dap",
},
opts = {
handlers = {}
},
},
{
"mfussenegger/nvim-dap",
},
{
"stevearc/conform.nvim",
event = "VeryLazy",
@ -242,7 +284,7 @@ return {
{
"lervag/vimtex",
filetypes = {"tex"},
filetypes = { "tex" },
config = function()
if vim.loop.os_uname().sysname == "Darwin" then
vim.g.vimtex_view_method = 'skim'

View file

@ -38,6 +38,18 @@ return {
'echasnovski/mini.ai',
event = "VeryLazy",
version = false,
opts = {}
dependencies = {
'nvim-treesitter/nvim-treesitter-textobjects'
},
config = function()
local gen_spec = require('mini.ai').gen_spec
require('mini.ai').setup({
custom_textobjects = {
-- Function definition (needs treesitter queries with these captures)
F = gen_spec.treesitter({ a = '@function.outer', i = '@function.inner' }),
},
n_lines = 1000
})
end
},
}

View file

@ -5,6 +5,9 @@ local config = wezterm.config_builder()
--Font config
config.font_size = 16
--Disable ligatures
config.harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' }
--Color scheme
config.color_scheme = 'Gruvbox dark, hard (base16)'

View file

@ -34,3 +34,5 @@
defaultBranch = main
[alias]
count-lines = "! git log --author=\"$1\" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf \"added lines: %s, removed lines: %s, total lines: %s\\n\", add, subs, loc }' #"
[gpg "ssh"]
allowedSignersFile = /home/afonso/.ssh/allowed_signers

View file

@ -1,2 +1,3 @@
[user]
email = afonso@francof.net
name = afonsofrancof