diff --git a/dotfiles/neovim/ftplugin/tex.lua b/dotfiles/neovim/ftplugin/tex.lua index 8bc3973..923900f 100644 --- a/dotfiles/neovim/ftplugin/tex.lua +++ b/dotfiles/neovim/ftplugin/tex.lua @@ -129,6 +129,10 @@ local abolishAbbreviations = { { "vx{,s}", "vert{ex,ices}" }, { "eg{,s}", "edge{}" }, + -- Linear systems + -- Note: we must add the space inside the {} in order for capitalization to work! + { "{{s,o,l},}deq{s,}", "{{scalar,ordinary,linear} ,}differential equation{}" }, + -- Graph theory function syntax: -- gt[function]{graph}{modifier} -- - function: @@ -226,3 +230,5 @@ vim.keymap.set( "VimtexCompile", { desc = "Compile current buffer using vimtex", buffer = true } ) + +vim.opt_local.list = false # The lsp usese tabs for formatting diff --git a/dotfiles/neovim/lua/my/options.lua b/dotfiles/neovim/lua/my/options.lua index 3e7c767..dec0b2e 100644 --- a/dotfiles/neovim/lua/my/options.lua +++ b/dotfiles/neovim/lua/my/options.lua @@ -19,6 +19,7 @@ function M.setup() vim.opt.expandtab = true -- Use spaces for the tab char vim.opt.shiftwidth = 2 -- Size of an indent + vim.opt.tabstop = 2 -- Size of tab character vim.opt.shiftround = true -- When using < or >, rounds to closest multiple of shiftwidth vim.opt.smartindent = true -- Insert indents automatically