kawre / leetcode.nvim

A Neovim plugin enabling you to solve LeetCode problems.
MIT License
654 stars 34 forks source link

Respect tabs/spaces settings #67

Closed tokisuno closed 3 months ago

tokisuno commented 3 months ago

I have tabs set to spaces and set to 2. This gets overwritten however when I am programming in python.

My init.lua loads plugins before keymaps, since I have some keymaps that are dependent on plugins.

kawre commented 3 months ago

It is not my plugin that overwrites tab settings, it's just because leetcode provides snippets for python with indent width of 4

tokisuno commented 3 months ago

And these snippets are something imported through the cookie key? None of the plugin dependencies do anything of the sort.

kawre commented 3 months ago

It's from leetcode api

tokisuno commented 3 months ago

gotcha