This commit is contained in:
Alexander Navarro 2023-03-06 19:57:24 -03:00
parent f3c1524c2d
commit 3afa9900ce
9 changed files with 63 additions and 33 deletions

1
.php-cs-fixer.cache Normal file
View file

@ -0,0 +1 @@
{"php":"8.1.16","version":"3.14.4","indent":" ","lineEnding":"\n","rules":{"blank_line_after_opening_tag":true,"blank_line_between_import_groups":true,"braces":{"allow_single_line_anonymous_class_with_empty_body":true},"class_definition":{"inline_constructor_arguments":false,"space_before_parenthesis":true},"compact_nullable_typehint":true,"declare_equal_normalize":true,"lowercase_cast":true,"lowercase_static_reference":true,"new_with_braces":true,"no_blank_lines_after_class_opening":true,"no_leading_import_slash":true,"no_whitespace_in_blank_line":true,"ordered_class_elements":{"order":["use_trait"]},"ordered_imports":{"imports_order":["class","function","const"],"sort_algorithm":"none"},"return_type_declaration":true,"short_scalar_cast":true,"single_blank_line_before_namespace":true,"single_import_per_statement":{"group_to_single_imports":false},"single_trait_insert_per_statement":true,"ternary_operator_spaces":true,"visibility_required":true,"blank_line_after_namespace":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline"},"no_break_comment":true,"no_closing_tag":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"encoding":true,"full_opening_tag":true},"hashes":{"config\/.null-ls_409243_php-cs-fixer-conf.php":"fb71792ed72df5b2976115b4380ef622","config\/.null-ls_800261_php-cs-fixer-conf.php":"1a554594a4eaa31e7bf231c0a93ad00e","config\/.null-ls_450233_php-cs-fixer-conf.php":"1a554594a4eaa31e7bf231c0a93ad00e","config\/.null-ls_536351_php-cs-fixer-conf.php":"5bfcd97c4bfff433fa6da9d289fd7ef9","config\/.null-ls_121074_php-cs-fixer-conf.php":"c116993e570fd1fd0d8e5ff29103a452"}}

View file

@ -1,5 +1,5 @@
return {
-- ["/nvim-neo-tree/neo-tree.nvim"] = { disable = true },
["/nvim-neo-tree/neo-tree.nvim"] = { disable = true },
["rcarriga/nvim-notify"] = { disable = true },
--
["catppuccin/nvim"] = {
@ -18,11 +18,11 @@ return {
require("user.plugins.project")
end,
},
-- ["kyazdani42/nvim-tree.lua"] = {
-- config = function()
-- require("user.plugins.nvim-tree")
-- end,
-- },
["kyazdani42/nvim-tree.lua"] = {
config = function()
require("user.plugins.nvim-tree")
end,
},
["kylechui/nvim-surround"] = {
tag = "*", -- Use for stability; omit to use `main` branch for the latest features
config = function()

View file

@ -23,6 +23,7 @@ return {
},
window = {
width = 30,
auto_expand_width = true,
mappings = {
["<2-LeftMouse>"] = "open_with_window_picker",
["<cr>"] = "open_with_window_picker",
@ -129,6 +130,8 @@ return {
if vim.bo.filetype == "neo-tree" then
vim.wo.signcolumn = "auto"
end
vim.cmd("highlight! Cursor blend=100")
end,
},
{

View file

@ -4,6 +4,13 @@ return function(config)
null_ls.builtins.formatting.prettierd.with({
disabled_filetypes = { "markdown" },
}),
null_ls.builtins.formatting.phpcsfixer.with({
extra_args = {
"--config",
"$HOME/.config/php-cs-fixer-conf.php",
},
}),
}
return config
end

7
config/git/gitconfig Normal file
View file

@ -0,0 +1,7 @@
[user]
email = ale.navarro.parra@gmail.com
user = Alexander Navarro
[pull]
rebase = false
[init]
defaultBranch = main

6
config/git/gitignore Normal file
View file

@ -0,0 +1,6 @@
# Package manager locks
*.lock
# PHP Stuff
vendor
.php-cs-fixer.cache

View file

@ -0,0 +1,5 @@
<?php
$config = new PhpCsFixer\Config();
return $config
->setIndent(" ");

View file

@ -13,7 +13,7 @@ ssh-tunnel() {
# quick wordpress in docker
dwps() {
image_name="wordpress-development"
container_build_path="$HOME/Private-repos/docker-development-services/wordpress"
container_build_path="$HOME/Repos/Private/docker-services/wordpress"
original_path="$PWD"
if [[ "$(docker images -q $image_name 2> /dev/null)" == "" ]] ; then

View file

@ -9,7 +9,8 @@ readarray -t configs < <(
fd -d 1 \
--exclude "*.old" \
--exclude "create*" \
--exclude "tmux"
--exclude "tmux" \
--exclude "git"
)
for dot in "${configs[@]}"; do