codota / tabnine-sublime

Tabnine Autocomplete AI: JavaScript, Python, TypeScript, PHP, C/C++, HTML/CSS, Go, Java, Ruby, C#, Rust, SQL, Bash, Kotlin, Julia, Lua, OCaml, Perl, Haskell, React
https://www.tabnine.com/install/sublime
MIT License
194 stars 36 forks source link

Bugfix: Tabnine throws errors when working in a buffer not yet saved to disk #120

Closed yahave closed 2 years ago

yahave commented 2 years ago

The plugins uses

def get_language(file_name):
    parts = file_name.split(".")
    ...

where the file_name may be None.