fix: imports
This commit is contained in:
parent
bc315818e4
commit
a24d50843a
9 changed files with 32 additions and 8 deletions
|
|
@ -1,3 +1,9 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
insert_final_newline = true
|
||||
charset = utf-8
|
||||
|
||||
[*.lua]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
|
|
|||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,4 +1,7 @@
|
|||
.venv/
|
||||
doc/tags
|
||||
*.log
|
||||
build
|
||||
debug
|
||||
venv/
|
||||
CLAUDE.md
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
local M = {}
|
||||
|
||||
local cache = require('cp.cache')
|
||||
local config_module = require('cp.config')
|
||||
local snippets = require('cp.snippets')
|
||||
local scrape = require('cp.scrape')
|
||||
local logger = require('cp.log')
|
||||
local problem = require('cp.problem')
|
||||
local cache = require('cp.cache')
|
||||
local scrape = require('cp.scrape')
|
||||
local snippets = require('cp.snippets')
|
||||
|
||||
if not vim.fn.has('nvim-0.10.0') then
|
||||
vim.notify('[cp.nvim]: requires nvim-0.10.0+', vim.log.levels.ERROR)
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
---@field error? string
|
||||
|
||||
local M = {}
|
||||
local logger = require('cp.log')
|
||||
local cache = require('cp.cache')
|
||||
local logger = require('cp.log')
|
||||
|
||||
local function get_plugin_path()
|
||||
local plugin_path = debug.getinfo(1, 'S').source:sub(2)
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
---@field saved_layout table?
|
||||
|
||||
local M = {}
|
||||
local logger = require('cp.log')
|
||||
local constants = require('cp.constants')
|
||||
local logger = require('cp.log')
|
||||
|
||||
---@type TestPanelState
|
||||
local test_panel_state = {
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
std = "lua51+vim"
|
||||
|
||||
exclude = ["spec"]
|
||||
|
|
|
|||
|
|
@ -4,3 +4,5 @@ indent_type = "Spaces"
|
|||
indent_width = 2
|
||||
quote_style = "AutoPreferSingle"
|
||||
call_parentheses = "Always"
|
||||
[sort_requires]
|
||||
enabled = true
|
||||
17
vim.toml
17
vim.toml
|
|
@ -1,6 +1,21 @@
|
|||
[selene]
|
||||
base = "lua52"
|
||||
base = "lua51"
|
||||
name = "vim"
|
||||
|
||||
[vim]
|
||||
any = true
|
||||
|
||||
[jit]
|
||||
any = true
|
||||
|
||||
[assert]
|
||||
any = true
|
||||
|
||||
[describe]
|
||||
any = true
|
||||
|
||||
[it]
|
||||
any = true
|
||||
|
||||
[before_each.args]
|
||||
any = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue