feat:ident
This commit is contained in:
parent
77f63ea552
commit
f056d7155f
|
|
@ -1,31 +1,31 @@
|
||||||
return {
|
return {
|
||||||
{
|
-- {
|
||||||
'leoluz/nvim-dap-go',
|
-- 'leoluz/nvim-dap-go',
|
||||||
ft = 'go',
|
-- ft = 'go',
|
||||||
dependencies = {
|
-- dependencies = {
|
||||||
'mfussenegger/nvim-dap',
|
-- 'mfussenegger/nvim-dap',
|
||||||
},
|
-- },
|
||||||
config = function(_, _)
|
-- config = function(_, _)
|
||||||
require('dap-go').setup {
|
-- require('dap-go').setup {
|
||||||
dap_configurations = {
|
-- dap_configurations = {
|
||||||
{
|
-- {
|
||||||
type = 'go',
|
-- type = 'go',
|
||||||
name = 'Debug with dynamic args',
|
-- name = 'Debug with dynamic args',
|
||||||
request = 'launch',
|
-- request = 'launch',
|
||||||
program = '${workspaceFolder}/main.go',
|
-- program = '${workspaceFolder}/main.go',
|
||||||
outputMode = 'remote',
|
-- outputMode = 'remote',
|
||||||
args = require('dap-go').get_arguments,
|
-- args = require('dap-go').get_arguments,
|
||||||
env = {
|
-- env = {
|
||||||
GOPRIVATE = 'bitbucket.org/asappay',
|
-- GOPRIVATE = 'bitbucket.org/asappay',
|
||||||
ENVIRONMENT = 'dev',
|
-- ENVIRONMENT = 'dev',
|
||||||
SERVICE_NAME = 'go-acquirer-local-service',
|
-- SERVICE_NAME = 'go-acquirer-local-service',
|
||||||
OTEL_EXPORTER_OTLP_ENDPOINT = 'localhost:4317',
|
-- OTEL_EXPORTER_OTLP_ENDPOINT = 'localhost:4317',
|
||||||
AWSPROFILE = 'asappay-dev',
|
-- AWSPROFILE = 'asappay-dev',
|
||||||
SOME_VAR = 'value',
|
-- SOME_VAR = 'value',
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
}
|
-- }
|
||||||
end,
|
-- end,
|
||||||
},
|
-- },
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,12 @@
|
||||||
return {
|
return {
|
||||||
{ -- Add indentation guides even on blank lines
|
{
|
||||||
'lukas-reineke/indent-blankline.nvim',
|
'lukas-reineke/indent-blankline.nvim',
|
||||||
-- Enable `lukas-reineke/indent-blankline.nvim`
|
|
||||||
-- See `:help ibl`
|
|
||||||
main = 'ibl',
|
main = 'ibl',
|
||||||
|
---@module "ibl"
|
||||||
|
---@type ibl.config
|
||||||
opts = {},
|
opts = {},
|
||||||
|
config = function()
|
||||||
|
require('ibl').setup {}
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,9 +39,9 @@ return {
|
||||||
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
|
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
|
||||||
-- If you are experiencing weird indenting issues, add the language to
|
-- If you are experiencing weird indenting issues, add the language to
|
||||||
-- the list of additional_vim_regex_highlighting and disabled languages for indent.
|
-- the list of additional_vim_regex_highlighting and disabled languages for indent.
|
||||||
additional_vim_regex_highlighting = { 'ruby' },
|
additional_vim_regex_highlighting = { 'ruby', 'go' },
|
||||||
},
|
},
|
||||||
indent = { enable = true, disable = { 'ruby' } },
|
indent = { enable = true, disable = { 'ruby', 'go' } },
|
||||||
},
|
},
|
||||||
-- There are additional nvim-treesitter modules that you can use to interact
|
-- There are additional nvim-treesitter modules that you can use to interact
|
||||||
-- with nvim-treesitter. You should go explore a few and see what interests you:
|
-- with nvim-treesitter. You should go explore a few and see what interests you:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
return {
|
return {
|
||||||
|
-- EditorConfig to use this we need to have the .editorocnfig file configured
|
||||||
{
|
{
|
||||||
'tpope/vim-sleuth',
|
'tpope/vim-sleuth',
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue