Migrate from Projectile to built-in project.el and fix Org mode
Major changes: - Replace Projectile with built-in project.el for project management - Add comprehensive Org mode configuration with TODO keywords and org-kanban support - Fix multiple parsing errors and keybinding conflicts Key improvements: - Faster startup with built-in project.el (no external dependencies) - Better integration with Eglot LSP client - Proper Org TODO keyword highlighting and kanban column ordering - Fixed unbalanced parentheses in init-completion.el and init-utils.el - Resolved keybinding conflicts (C-c d g → C-c G d, removed C-u C-c C-r) - Updated all file paths in init-utils.el to use lisp/ subdirectory The configuration now loads cleanly without errors and maintains backward compatibility with most Projectile keybindings (C-c p prefix) while also supporting the standard project.el bindings (C-x p prefix). 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
;; Function to check if ESLint is configured in the current project
|
||||
(defun project-has-eslint-config-p ()
|
||||
"Check if the current project has ESLint configuration."
|
||||
(let ((project-root (or (projectile-project-root)
|
||||
(require 'project)
|
||||
(let ((project-root (or (when-let ((proj (project-current)))
|
||||
(project-root proj))
|
||||
(locate-dominating-file default-directory ".git")
|
||||
default-directory)))
|
||||
(or (file-exists-p (expand-file-name ".eslintrc" project-root))
|
||||
@@ -62,7 +64,9 @@
|
||||
(defun create-basic-eslintrc ()
|
||||
"Create a basic .eslintrc.json file in the project root."
|
||||
(interactive)
|
||||
(let* ((project-root (or (projectile-project-root)
|
||||
(require 'project)
|
||||
(let* ((project-root (or (when-let ((proj (project-current)))
|
||||
(project-root proj))
|
||||
(locate-dominating-file default-directory ".git")
|
||||
default-directory))
|
||||
(eslintrc-path (expand-file-name ".eslintrc.json" project-root)))
|
||||
|
||||
Reference in New Issue
Block a user