vimrc/ftplugin/typescript.lua

12 lines
246 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')