aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-12-13 15:41:34 +0100
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-12-13 15:41:34 +0100
commit56f05f67f007ed8097fb9f982265ca7d512f456a (patch)
treea323def0729f0c339372a82617957e97b08cc747
parent49d72a68e932b3c2a1c1b52e23ea4929b5780d5c (diff)
downloadnvim-conf-56f05f67f007ed8097fb9f982265ca7d512f456a.tar.gz
nvim-conf-56f05f67f007ed8097fb9f982265ca7d512f456a.zip
small improvements
-rw-r--r--.mind/data/20221213094715-nvim.md43
-rw-r--r--.mind/state.json1
-rw-r--r--lua/alpha/dap.lua8
-rw-r--r--lua/alpha/settings.lua1
4 files changed, 47 insertions, 6 deletions
diff --git a/.mind/data/20221213094715-nvim.md b/.mind/data/20221213094715-nvim.md
new file mode 100644
index 0000000..2c6099a
--- /dev/null
+++ b/.mind/data/20221213094715-nvim.md
@@ -0,0 +1,43 @@
+# nvim
+
+Mi local config.
+
+I would like to have a configuration split into modules more oriented by language and things.
+
+I was tinking of having a languages folder example
+
+- PHP
+- Rust
+- Javascript
+- Go
+
+on each one have the configuration necessary
+
+related to
+
+LSP
+DAP
+TreeSitter
+Plugins
+
+Have a module for Themeing.
+Visual changes
+Theme, status line, UI elements
+
+`init.lua`
+define which modules are desire
+
+- lua
+ -
+
+Advantages on using lsp-zero ??
+[lsp-zero](https://github.com/VonHeikemen/lsp-zero.nvim)
+
+
+differente approaches.
+
+Language
+ - LSP
+
+LSP
+ - Language
diff --git a/.mind/state.json b/.mind/state.json
new file mode 100644
index 0000000..5e4e06f
--- /dev/null
+++ b/.mind/state.json
@@ -0,0 +1 @@
+{"data":".mind\/data\/20221213094715-nvim.md","icon":" ","type":1,"uid":"20221213094708","contents":[{"text":"nvim"}]} \ No newline at end of file
diff --git a/lua/alpha/dap.lua b/lua/alpha/dap.lua
index 8e747db..0776ba7 100644
--- a/lua/alpha/dap.lua
+++ b/lua/alpha/dap.lua
@@ -38,15 +38,11 @@ vim.fn.sign_define("DapLogPoint", { text = "💬", texthl = "", linehl = "", num
-- vim.cmd("au FileType dap-repl lua require('dap.ext.autocompl').attach()")
--- TODO replace with mason for check if installed and get the path
--- the binary does not work
-local php_debug_adapter = vim.fn.stdpath("data") .. "/mason/packages/php-debug-adapter/extension/out/phpDebug.js"
-
dap.adapters.php = {
type = "executable",
- command = "node",
- args = { php_debug_adapter },
+ command = "php-debug-adapter",
}
+
dap.configurations.php = {
{
type = "php",
diff --git a/lua/alpha/settings.lua b/lua/alpha/settings.lua
index a663c42..51efb63 100644
--- a/lua/alpha/settings.lua
+++ b/lua/alpha/settings.lua
@@ -6,6 +6,7 @@ vim.g.alpha_lualine_color = "tokyonight"
local options = vim.o
+options.mouse = false
options.number = true
options.relativenumber = true