Compare commits
7 Commits
8006bc52e8
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3522c28620 | ||
|
|
0fc8a32863 | ||
|
|
5f37db4f8b | ||
|
|
a730958ba9 | ||
|
|
16ad70f2ce | ||
|
|
e9fc5490ac | ||
|
|
51bb7213d0 |
@@ -1,4 +1,7 @@
|
||||
# 💤 LazyVim Config
|
||||
## [Gitea](https://gitea.routinedevelopment.ca/DaveanandMannie/lazy_config)
|
||||
## [Github mirror](https://github.com/DaveanandMannie/my_lazy_config)
|
||||
|
||||
# 💤 LazyVim Config (out of sync)
|
||||
|
||||
This is my personal **LazyVim** configuration, designed to run seamlessly on both
|
||||
**WSL (Windows)** and **bare-metal Linux** environments. It also integrates
|
||||
|
||||
@@ -35,6 +35,6 @@
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "5da1b76e64daf4c5d410f06bcb6b9cb640da7dfd" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
|
||||
"ts-comments.nvim": { "branch": "main", "commit": "123a9fb12e7229342f807ec9e6de478b1102b041" },
|
||||
"venv-selector.nvim": { "branch": "main", "commit": "58bae72c84b9f7f864c879ec1896e384296f9ffb" },
|
||||
"venv-selector.nvim": { "branch": "main", "commit": "321dbbbfc3f1d25dad24c289e853cacd0666f77f" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
|
||||
}
|
||||
|
||||
@@ -4,9 +4,17 @@ return {
|
||||
servers = {
|
||||
ruby_lsp = {
|
||||
mason = false,
|
||||
cmd = { os.getenv("HOME") .. "/.rbenv/shims/ruby-lsp" },
|
||||
single_file_support = false,
|
||||
root_partern = { ".git" },
|
||||
-- cmd = { os.getenv("HOME") .. "/.rbenv/shims/ruby-lsp" },
|
||||
init_options = { enabledFeatures = { formatter = "none", linters = {} } },
|
||||
settings = {
|
||||
ruby = {
|
||||
diagnostics = {
|
||||
rubocop = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
formatter = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1,3 +1,27 @@
|
||||
-- return {
|
||||
-- "neovim/nvim-lspconfig",
|
||||
-- opts = {
|
||||
-- servers = {
|
||||
-- lemminx = {
|
||||
-- init_options = {
|
||||
-- settings = {
|
||||
-- xml = {
|
||||
-- format = {
|
||||
-- enabled = true,
|
||||
-- splitAttributes = false,
|
||||
-- },
|
||||
-- validation = {
|
||||
-- noGrammar = "ignore",
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- }
|
||||
--
|
||||
|
||||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
@@ -8,7 +32,17 @@ return {
|
||||
xml = {
|
||||
format = {
|
||||
enabled = true,
|
||||
splitAttributes = false,
|
||||
enforceQuoteStyle = "preferred",
|
||||
maxLineWidth = 140,
|
||||
splitAttributes = "preserve",
|
||||
preserveAttributeLineBreaks = true,
|
||||
-- respect new lines
|
||||
preservedNewlines = 2,
|
||||
joinContentLines = false,
|
||||
experimental = true,
|
||||
},
|
||||
preferences = {
|
||||
quoteStyle = "double",
|
||||
},
|
||||
validation = {
|
||||
noGrammar = "ignore",
|
||||
|
||||
@@ -52,7 +52,7 @@ return {
|
||||
explorer = { cycle = false, layout = { preset = "sidebar" } },
|
||||
buffers = { layout = { preset = "vs_search" } },
|
||||
lines = { main = { current = false }, layout = { preset = "vs_search" } },
|
||||
diagnostics = { layout = { preset = "vs_search" } },
|
||||
diagnostics = { layout = { preset = "vs_search" }, hidden=true },
|
||||
diagnostics_buffer = { layout = { preset = "vs_search" } },
|
||||
git_status = { ignored = false },
|
||||
grep = { ignored = false, hidden = false, exclude = { "*.po", " *.pot" } },
|
||||
|
||||
@@ -4,6 +4,8 @@ return {
|
||||
opts = {
|
||||
spec = {
|
||||
{ "<leader>cL", "<cmd>LspRestart<CR>", icon = "" },
|
||||
{ "<leader>`", hidden = true },
|
||||
{ "<leader>-", hidden = true },
|
||||
},
|
||||
win = {
|
||||
no_overlap = false,
|
||||
|
||||
@@ -15,7 +15,6 @@ if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null; then
|
||||
else
|
||||
alias wezterm='wezterm' # Or point to native binary if needed
|
||||
fi
|
||||
alias docker='sudo docker'
|
||||
alias lg='lazygit'
|
||||
# [Odoo]
|
||||
alias erp-dev='cd ~/workspace/pg/erp/'
|
||||
|
||||
Reference in New Issue
Block a user