feat(v1.1.0): major refactor with modular architecture and plugin support
- Add config.lua for comprehensive configuration options (transparent, italic_comments, bold_keywords, bold_functions, bold_types, terminal_colors) - Add highlights.lua with 500+ highlight groups for 30+ plugins (Telescope, NvimTree, Neo-tree, GitSigns, nvim-cmp, Lazy.nvim, Mason, etc.) - Add colors/ directory for :colorscheme command support - Add terminal colors (16-color palette for :terminal) - Add test suite (test/test_colors.lua) - Add development tools (selene.toml, stylua.toml, vim.toml) - Add CHANGELOG.md following Keep a Changelog format - Fix colors.lua not being used by init.lua - Fix setup(opts) not applying configuration options - Fix README referencing non-existent files - Update documentation with accurate file structure and API docs
This commit is contained in:
48
selene.toml
Normal file
48
selene.toml
Normal file
@@ -0,0 +1,48 @@
|
||||
# Selene configuration for CargDev-Cyberpunk.nvim
|
||||
# https://kampfkarren.github.io/selene/
|
||||
|
||||
std = "lua51+vim"
|
||||
|
||||
[lints]
|
||||
# Allow globals from Neovim
|
||||
global_usage = "allow"
|
||||
# Unused variables warnings
|
||||
unused_variable = "warn"
|
||||
# Empty if statements
|
||||
empty_if = "warn"
|
||||
# Deprecated features
|
||||
deprecated = "warn"
|
||||
# Dividing by zero
|
||||
divide_by_zero = "warn"
|
||||
# Duplicate keys in tables
|
||||
duplicate_keys = "deny"
|
||||
# If statements with the same body
|
||||
if_same_then_else = "warn"
|
||||
# Incorrect standard library usage
|
||||
incorrect_standard_library_use = "deny"
|
||||
# Manual table clone
|
||||
manual_table_clone = "warn"
|
||||
# Mismatched argument count
|
||||
mismatched_arg_count = "warn"
|
||||
# Multiple statements on one line
|
||||
multiple_statements = "allow"
|
||||
# Parentheses condition
|
||||
parenthese_conditions = "warn"
|
||||
# Shadowing
|
||||
shadowing = "allow"
|
||||
# Type checking
|
||||
type_check_inside_call = "warn"
|
||||
# Unbalanced assignments
|
||||
unbalanced_assignments = "warn"
|
||||
# Undefined variables
|
||||
undefined_variable = "deny"
|
||||
# Unreachable code
|
||||
unreachable_code = "warn"
|
||||
# Unscoped variables
|
||||
unscoped_variables = "warn"
|
||||
# Unused functions
|
||||
unused_function = "warn"
|
||||
|
||||
[config]
|
||||
# Files to exclude from linting
|
||||
exclude = [".git"]
|
||||
Reference in New Issue
Block a user