]> git.madduck.net Git - etc/lazyvim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

use vim.opt_local instead of vim.b in ftplugin/python
authormartin f. krafft <madduck@madduck.net>
Fri, 25 Apr 2025 08:59:05 +0000 (10:59 +0200)
committermartin f. krafft <madduck@madduck.net>
Wed, 6 Aug 2025 09:57:17 +0000 (11:57 +0200)
.config/lazyvim/after/ftplugin/python.lua
.config/lazyvim/lazy-lock.json
.config/lazyvim/lazyvim.json

index a420d5083fa23e2aa5e5330c72b32f96b145f369..376b877b9bd071ba48fb3cf4bd55439ceecd99aa 100644 (file)
@@ -1,13 +1,13 @@
 vim.g.python_highlight_all = true
 
 vim.g.linelength = 88
 vim.g.python_highlight_all = true
 
 vim.g.linelength = 88
-vim.b.textwidth = vim.g.linelength
+vim.opt_local.textwidth = vim.g.linelength
 
 
-vim.b.sw = 4
-vim.b.sts = 4
-vim.b.autoindent = true
+vim.opt_local.sw = 4
+vim.opt_local.sts = 4
+vim.opt_local.autoindent = true
 
 
-vim.b.formatoptions = vim.opt.formatoptions + 'bl'
+vim.opt_local.formatoptions = vim.opt.formatoptions + "bl"
 
 vim.b.ale_linters = { "mypy", "ruff" }
 vim.b.ale_fixers = {
 
 vim.b.ale_linters = { "mypy", "ruff" }
 vim.b.ale_fixers = {
index c281a4bab5f47fa029a922ae03c096c089323470..8c7e86990bc01730de42f049a4bb7785e5b90326 100644 (file)
@@ -18,6 +18,7 @@
   "mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
   "mini.ai": { "branch": "main", "commit": "e139eb1101beb0250fea322f8c07a42f0f175688" },
   "mini.align": { "branch": "main", "commit": "8d5f3254a4c25fdfd26b7467d2372f5deed3a78c" },
   "mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
   "mini.ai": { "branch": "main", "commit": "e139eb1101beb0250fea322f8c07a42f0f175688" },
   "mini.align": { "branch": "main", "commit": "8d5f3254a4c25fdfd26b7467d2372f5deed3a78c" },
+  "mini.hipatterns": { "branch": "main", "commit": "e5083df391171dc9d8172645606f8496d9443374" },
   "mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" },
   "mini.pairs": { "branch": "main", "commit": "69864a2efb36c030877421634487fd90db1e4298" },
   "mini.surround": { "branch": "main", "commit": "5aab42fcdcf31fa010f012771eda5631c077840a" },
   "mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" },
   "mini.pairs": { "branch": "main", "commit": "69864a2efb36c030877421634487fd90db1e4298" },
   "mini.surround": { "branch": "main", "commit": "5aab42fcdcf31fa010f012771eda5631c077840a" },
index 48c287c91db11a9a4b72c739068b7bd5a9924bf2..99e8ae76b5b358d64aae69c8b88052d5607bc9d8 100644 (file)
@@ -4,7 +4,8 @@
     "lazyvim.plugins.extras.lang.markdown",
     "lazyvim.plugins.extras.lang.python",
     "lazyvim.plugins.extras.lang.toml",
     "lazyvim.plugins.extras.lang.markdown",
     "lazyvim.plugins.extras.lang.python",
     "lazyvim.plugins.extras.lang.toml",
-    "lazyvim.plugins.extras.test.core"
+    "lazyvim.plugins.extras.test.core",
+    "lazyvim.plugins.extras.util.mini-hipatterns"
   ],
   "install_version": 8,
   "news": {
   ],
   "install_version": 8,
   "news": {