vimrc/ftplugin/typescript.lua

14 lines
320 B
Lua
Raw Normal View History

vim.g.neoformat_try_node_exe = 1
-- set a smaller indent
local indent = 2
vim.opt.tabstop = indent
vim.opt.shiftwidth = indent
vim.opt.softtabstop = indent
vim.cmd('setlocal fdm=indent')
vim.cmd('setlocal smartindent')
vim.cmd('setlocal list')
-- set an alternate colorscheme from coding
vim.cmd('colorscheme breezy')