]> git.rmz.io Git - dotfiles.git/commitdiff
nvim: set autoformat false
authorSamir Benmendil <me@rmz.io>
Sun, 29 Oct 2023 16:17:46 +0000 (16:17 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 17 Dec 2023 17:23:07 +0000 (17:23 +0000)
This seems to be a global setting now rather than a lazyvim thing. Maybe
it affects other things too.

nvim/init.lua

index 5f7a2829361bbc1510f9cff54b712136ee6e4477..ffbd39547b2567c91210a152f29c0aa6f6526783 100644 (file)
@@ -1,6 +1,9 @@
 -- load original vimrc file
 vim.cmd([[ source $XDG_CONFIG_HOME/vim/vimrc ]])
 
+-- TODO: review if I want this for some buffers
+vim.g.autoformat = false
+
 -- bootstrap lazy.nvim, LazyVim and your plugins
 package.loaded["lazyvim.config.options"] = true
 require("config.lazy")