feat:ident
This commit is contained in:
parent
77f63ea552
commit
f056d7155f
|
|
@ -1,31 +1,31 @@
|
|||
return {
|
||||
{
|
||||
'leoluz/nvim-dap-go',
|
||||
ft = 'go',
|
||||
dependencies = {
|
||||
'mfussenegger/nvim-dap',
|
||||
},
|
||||
config = function(_, _)
|
||||
require('dap-go').setup {
|
||||
dap_configurations = {
|
||||
{
|
||||
type = 'go',
|
||||
name = 'Debug with dynamic args',
|
||||
request = 'launch',
|
||||
program = '${workspaceFolder}/main.go',
|
||||
outputMode = 'remote',
|
||||
args = require('dap-go').get_arguments,
|
||||
env = {
|
||||
GOPRIVATE = 'bitbucket.org/asappay',
|
||||
ENVIRONMENT = 'dev',
|
||||
SERVICE_NAME = 'go-acquirer-local-service',
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT = 'localhost:4317',
|
||||
AWSPROFILE = 'asappay-dev',
|
||||
SOME_VAR = 'value',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
-- {
|
||||
-- 'leoluz/nvim-dap-go',
|
||||
-- ft = 'go',
|
||||
-- dependencies = {
|
||||
-- 'mfussenegger/nvim-dap',
|
||||
-- },
|
||||
-- config = function(_, _)
|
||||
-- require('dap-go').setup {
|
||||
-- dap_configurations = {
|
||||
-- {
|
||||
-- type = 'go',
|
||||
-- name = 'Debug with dynamic args',
|
||||
-- request = 'launch',
|
||||
-- program = '${workspaceFolder}/main.go',
|
||||
-- outputMode = 'remote',
|
||||
-- args = require('dap-go').get_arguments,
|
||||
-- env = {
|
||||
-- GOPRIVATE = 'bitbucket.org/asappay',
|
||||
-- ENVIRONMENT = 'dev',
|
||||
-- SERVICE_NAME = 'go-acquirer-local-service',
|
||||
-- OTEL_EXPORTER_OTLP_ENDPOINT = 'localhost:4317',
|
||||
-- AWSPROFILE = 'asappay-dev',
|
||||
-- SOME_VAR = 'value',
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- }
|
||||
-- end,
|
||||
-- },
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,12 @@
|
|||
return {
|
||||
{ -- Add indentation guides even on blank lines
|
||||
{
|
||||
'lukas-reineke/indent-blankline.nvim',
|
||||
-- Enable `lukas-reineke/indent-blankline.nvim`
|
||||
-- See `:help ibl`
|
||||
main = 'ibl',
|
||||
---@module "ibl"
|
||||
---@type ibl.config
|
||||
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.
|
||||
-- If you are experiencing weird indenting issues, add the language to
|
||||
-- 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
|
||||
-- with nvim-treesitter. You should go explore a few and see what interests you:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
-- EditorConfig to use this we need to have the .editorocnfig file configured
|
||||
{
|
||||
'tpope/vim-sleuth',
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue