diff --git a/home/modules/tui/neovim/autocmds.nix b/home/modules/tui/neovim/autocmds.nix index 9761bf5..d6e1398 100644 --- a/home/modules/tui/neovim/autocmds.nix +++ b/home/modules/tui/neovim/autocmds.nix @@ -21,5 +21,15 @@ ]; command = "setlocal spell spelllang=en"; } + + # Enable wrap for some filetypes + { + event = "FileType"; + pattern = [ + "markdown" + ]; + command = "setlocal wrap linebreak"; + } ]; -} \ No newline at end of file +} +