From b7af4151f1d8c357bb04914e17dd2b9c45e7a7e5 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Sat, 31 Aug 2024 17:04:59 +0200 Subject: neovim: Konfiguration für Typescript hinzugefügt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/ftplugin/typescript.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nvim/ftplugin/typescript.vim (limited to 'nvim/ftplugin/typescript.vim') diff --git a/nvim/ftplugin/typescript.vim b/nvim/ftplugin/typescript.vim new file mode 100644 index 0000000..5f56854 --- /dev/null +++ b/nvim/ftplugin/typescript.vim @@ -0,0 +1,11 @@ +setlocal tabstop=2 +setlocal softtabstop=2 +setlocal shiftwidth=2 +setlocal smarttab +setlocal expandtab +setlocal autoindent + +setlocal foldenable +setlocal foldmethod=expr +setlocal foldexpr=nvim_treesitter#foldexpr() + -- cgit v1.3