From 4c052dd87ce1cbc1ea2c3c8a33c4cc29bc604f73 Mon Sep 17 00:00:00 2001 From: weidaolee Date: Wed, 14 Feb 2024 18:31:03 +0000 Subject: [PATCH] good --- doom.d/init.el | 13 ++- doom.d/key-bindings/roam.el | 2 + doom.d/packages.el | 1 + .../file-templates/templates/sh-mode/__ | 3 +- modules/private-completion/company/config.el | 9 ++ .../private-completion/company/packages.el | 5 + modules/private-config/emacs/config.el | 7 -- modules/private-editor/default/config.el | 29 ++++- modules/private-editor/evil/config.el | 27 ++++- modules/private-emacs/dired/+map/ranger.el | 6 + modules/private-emacs/dired/config.el | 2 +- modules/private-lang/cc/README.org | 36 +++++- modules/private-lang/cc/config.el | 110 +++++++++++++----- modules/private-lang/cc/packages.el | 5 + .../private-lang/cc/template/.clang-format | 46 ++++++++ .../private-lang/cc/template/.dir-locals.el | 28 +++++ .../private-lang/cc/template/CMakeLists.txt | 21 ++++ modules/private-lang/cc/template/build.sh | 9 ++ modules/private-lang/go/config.el | 15 ++- modules/private-lang/org/config.el | 4 + modules/private-lang/protobuf/config.el | 7 ++ modules/private-lang/protobuf/packages.el | 4 + modules/private-lang/python/config.el | 5 - modules/private-lang/sh/config.el | 4 + modules/private-tools/log/config.el | 5 - modules/private-tools/log/packages.el | 4 - 26 files changed, 332 insertions(+), 75 deletions(-) create mode 100644 modules/private-completion/company/packages.el create mode 100644 modules/private-lang/cc/packages.el create mode 100644 modules/private-lang/cc/template/.clang-format create mode 100644 modules/private-lang/cc/template/.dir-locals.el create mode 100644 modules/private-lang/cc/template/CMakeLists.txt create mode 100644 modules/private-lang/cc/template/build.sh create mode 100644 modules/private-lang/org/config.el create mode 100644 modules/private-lang/protobuf/config.el create mode 100644 modules/private-lang/protobuf/packages.el delete mode 100644 modules/private-lang/python/config.el create mode 100644 modules/private-lang/sh/config.el delete mode 100644 modules/private-tools/log/config.el delete mode 100644 modules/private-tools/log/packages.el diff --git a/doom.d/init.el b/doom.d/init.el index 076019b1177..5bcbb2e7e4d 100644 --- a/doom.d/init.el +++ b/doom.d/init.el @@ -75,7 +75,8 @@ :emacs (dired ; making dired pretty [functional] +icons - +ranger) + +ranger + ) electric ; smarter, keyword-based electric-indent ;;ibuffer ; interactive buffer management (undo +tree) ; persistent, smarter undo for your inevitable mistakes @@ -217,7 +218,7 @@ ;;(wanderlust +gmail) :app - ;;calendar + calendar ;;emms ;;everywhere ; *leave* Emacs!? You must be joking ;;irc ; how neckbeards socialize @@ -244,21 +245,21 @@ evil hungry-delete drag-stuff - ;; format :private-emacs dired :private-lang - ;; org + org cc go - python + sh + protobuf :private-tools conf ;; gpt - log + treemacs-icons :private-term vterm diff --git a/doom.d/key-bindings/roam.el b/doom.d/key-bindings/roam.el index abefec19dac..a88fc746d50 100644 --- a/doom.d/key-bindings/roam.el +++ b/doom.d/key-bindings/roam.el @@ -46,6 +46,8 @@ (:when (modulep! :editor evil +everywhere) :map evil-motion-state-map "C-e" nil + "n" #'evil-ex-search-next + "p" #'evil-ex-search-previous "N" #'evil-ex-search-next "P" #'evil-ex-search-previous)) diff --git a/doom.d/packages.el b/doom.d/packages.el index 839b83c589d..9ed2960d4cf 100644 --- a/doom.d/packages.el +++ b/doom.d/packages.el @@ -48,3 +48,4 @@ ;(unpin! pinned-package another-pinned-package) ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) ;(unpin! t) +(package! doom-snippets :ignore t) diff --git a/modules/editor/file-templates/templates/sh-mode/__ b/modules/editor/file-templates/templates/sh-mode/__ index 2f790dc174c..9949bcb7b5d 100644 --- a/modules/editor/file-templates/templates/sh-mode/__ +++ b/modules/editor/file-templates/templates/sh-mode/__ @@ -1,3 +1,2 @@ -#!/usr/bin/env `(format "%s" sh-shell)` - +#!/bin/bash $0 diff --git a/modules/private-completion/company/config.el b/modules/private-completion/company/config.el index 1c488ba7e6c..7138472f3bc 100644 --- a/modules/private-completion/company/config.el +++ b/modules/private-completion/company/config.el @@ -10,3 +10,12 @@ :after company :map company-active-map [tab] #'company-complete-selection) + +(use-package! company-spell + :after company + :config + (setf company-spell-args "-a -S --guess --suggest --sug-mode=bad-spellers --size=90 soundslike ")) + +(after! text-mode + (set-company-backend! 'text-mode + '(:separate company-dabbrev company-yasnippet company-ispell :with company-spell))) diff --git a/modules/private-completion/company/packages.el b/modules/private-completion/company/packages.el new file mode 100644 index 00000000000..18b602a17ab --- /dev/null +++ b/modules/private-completion/company/packages.el @@ -0,0 +1,5 @@ +;;; -*- no-byte-compile: t; -*- +;;; private-completion/company/packages.el + +(package! company-spell) + diff --git a/modules/private-config/emacs/config.el b/modules/private-config/emacs/config.el index b06f5fe4492..6890219874e 100644 --- a/modules/private-config/emacs/config.el +++ b/modules/private-config/emacs/config.el @@ -15,10 +15,3 @@ ;; allow expert features (put 'narrow-to-region 'disabled nil) (put 'set-goal-column 'disabled nil) - -;; disable -(define-key input-decode-map [?\C-m] [C-m]) -(global-set-key (kbd "") #'c-m) - -;; disable M- -(map! "M-" #'doom/escape) diff --git a/modules/private-editor/default/config.el b/modules/private-editor/default/config.el index c1bd9dfcf2f..d139c0adca5 100644 --- a/modules/private-editor/default/config.el +++ b/modules/private-editor/default/config.el @@ -1,13 +1,34 @@ ;;; private-edtior/default/config.el -*- lexical-binding: t; -*- -(normal-erase-is-backspace-mode t) +(if (not (display-graphic-p)) + (normal-erase-is-backspace-mode 0) + (normal-erase-is-backspace-mode 1)) + (delete-selection-mode t) +;; disable +(if (display-graphic-p) + ;; Running in a windowed environment + (progn + ;; Define the keybinding for graphical mode + (define-key input-decode-map [?\C-m] [C-m]) + (global-set-key (kbd "") #'c-m)) + ;; Running in a terminal + ;; Define alternative keybindings or leave it unbound + ;; (for example, to avoid conflicts, you can use a different keybinding) + ) + +;; disable M- +(map! "M-" #'doom/escape) + + (map! :map global-map - "C-k" nil - "C-j" nil - "C-t" nil) + "C-k" nil + "C-j" nil + "C-t" nil + "C-" nil + "C-RET" nil) (use-package! smart-tab :when (modulep! :editor evil +everywhere) diff --git a/modules/private-editor/evil/config.el b/modules/private-editor/evil/config.el index 4782b17b647..a409112d082 100644 --- a/modules/private-editor/evil/config.el +++ b/modules/private-editor/evil/config.el @@ -7,8 +7,26 @@ (when (modulep! :editor evil +everywhere) (general-unbind '(normal) "r" "R" "y" "Y" "u" "o" "O" "p" "P" "=" - "a" "A" "d" "D" "J" "m" - "x" "X" "c" "C" "," "." "<" ">")) + "a" "A" "d" "D" "J" "C-RET" "C-" + "x" "X" "c" "C" "m" "," "." "<" ">")) + +(when (modulep! :editor evil +everywhere) + (general-unbind '(motion) + "B")) + +(when (modulep! :editor evil +everywhere) + (define-key! evil-snipe-mode-map + "S" nil + "F" nil + "t" nil + "T" nil)) + +(when (modulep! :editor evil +everywhere) + (define-key! evil-snipe-local-mode-map + "S" nil + "F" nil + "t" nil + "T" nil)) (when (modulep! :editor evil +everywhere) (define-key! evil-motion-state-map @@ -21,3 +39,8 @@ [return] nil [tab] nil "TAB" nil)) + +(when (modulep! :editor evil +everywhere) + (define-key! evil-motion-state-map + "<" #'evil-jump-backward + ">" #'evil-jump-forward)) diff --git a/modules/private-emacs/dired/+map/ranger.el b/modules/private-emacs/dired/+map/ranger.el index 824a4fe88a0..5a00ce4e651 100644 --- a/modules/private-emacs/dired/+map/ranger.el +++ b/modules/private-emacs/dired/+map/ranger.el @@ -82,6 +82,12 @@ :n "x" #'dired-do-flagged-delete-or-trash ) + (:after ranger + :map ranger-mode-map + "d" #'dired-flag-file-deletion + "t" #'dired-flag-file-to-trash-can + "x" #'dired-do-flagged-delete-or-trash) + (:after ranger :map ranger-normal-mode-map "d" #'dired-flag-file-deletion diff --git a/modules/private-emacs/dired/config.el b/modules/private-emacs/dired/config.el index d0380f3cc23..d33be3bd468 100644 --- a/modules/private-emacs/dired/config.el +++ b/modules/private-emacs/dired/config.el @@ -1,6 +1,6 @@ ;;; private-emacs/dired/config.el -*- lexical-binding: t; -*- -(after! dired +(after! ranger (load! "+map/ranger.el")) (after! ranger diff --git a/modules/private-lang/cc/README.org b/modules/private-lang/cc/README.org index d0d12bd5452..6c6233df8d3 100644 --- a/modules/private-lang/cc/README.org +++ b/modules/private-lang/cc/README.org @@ -23,6 +23,38 @@ * Auto Fromat on Save Add the following code to ~.dir-lcoals.el~: #+begin_src elisp -((c++-mode . ((eval . (add-hook 'before-save-hook #'lsp-format-buffer nil t))))) -((c-mode . ((eval . (add-hook 'before-save-hook #'lsp-format-buffer nil t))))) +((c-mode . ((eval . (add-hook 'before-save-hook #'clang-format-buffer nil t))))) +((c++-mode . ((eval . (add-hook 'before-save-hook #'clang-format-buffer nil t))))) + +((c-mode . ((c-basic-offset . 4) + (c-offsets-alist . ((access-label . -4) + (inclass . +) + (namespace-open . 0) + (namespace-close . 0) + (innamespace . 0) + (case-label . 0) + (statement-case-open . +) + (statement-case-intro . +) ; for case labels + (member-init-intro . ++))) ; for constructor initializer lists + (c-hanging-braces-alist . ((substatement-open after) + (brace-list-open))))) + + ((c++-mode . ((c-basic-offset . 4) + (c-offsets-alist . ((access-label . -4) + (inclass . +) + (namespace-open . 0) + (namespace-close . 0) + (innamespace . 0) + (case-label . 0) + (statement-case-open . +) + (statement-case-intro . +) ; for case labels + (member-init-intro . ++))) ; for constructor initializer lists + (c-hanging-braces-alist . ((substatement-open after) + (brace-list-open))))) #+end_src +* Download clangd +Download [[https://github.com/clangd/clangd/releases][clangd-linux-xx.x.xzip]] +* Upgrade Clang format version +1. Uninstall ~clang-format~ +2. Install ~clang-format-xx~ +3. ~ln -s /usr/bin/clang-format /usr/bin/clang-format-xx~ diff --git a/modules/private-lang/cc/config.el b/modules/private-lang/cc/config.el index 8d2b9c91541..c3bf2ce59e0 100644 --- a/modules/private-lang/cc/config.el +++ b/modules/private-lang/cc/config.el @@ -1,5 +1,7 @@ ;;; private-lang/config.el -*- lexical-binding: t; -*- +(add-to-list 'auto-mode-alist '(".clang-format\\'" . yaml-mode)) + ;;; Clang (after! lsp-clangd (setq lsp-clients-clangd-args @@ -18,40 +20,90 @@ "--background-index-rebuild" ;; "--header-insertion-decorators=1" ;; "--suggest-missing-includes=1" - )) (set-lsp-priority! 'clangd 2)) -;; (after! ccls -;; (setq ccls-initialization-options '(:index (:comments 2 :thread 8) :completion (:detailedLabel t))) -;; (setq lsp-ui-doc-enable nil) -;; (set-lsp-priority! 'ccls 2)) ; optional as ccls is the default in Doom +(after! cc-mode + ;; Set basic indentation to 4 spaces + ;; (setq-default c-basic-offset 4) + ;; Customize indentation for specific syntactic elements + (setq-default c-offsets-alist + `((inexpr-class . +) + (inexpr-statement . +) + (lambda-intro-cont . +) + (template-args-cont c-lineup-template-args +) + (incomposition . +) + (inmodule . +) + (innamespace . +) + (inextern-lang . +) + (composition-close . 0) + (module-close . 0) + (namespace-close . 0) + (extern-lang-close . 0) + (composition-open . 0) + (module-open . 0) + (namespace-open . 0) + (extern-lang-open . 0) + (objc-method-call-cont c-lineup-ObjC-method-call-colons c-lineup-ObjC-method-call +) + (objc-method-args-cont . c-lineup-ObjC-method-args) + (objc-method-intro . [0]) + (friend . 0) + (cpp-define-intro c-lineup-cpp-define +) + (cpp-macro-cont . +) + (cpp-macro . [0]) + (stream-op . c-lineup-streamop) + (arglist-cont-nonempty c-lineup-gcc-asm-reg c-lineup-arglist) + (arglist-cont c-lineup-gcc-asm-reg 0) + (comment-intro c-lineup-knr-region-comment c-lineup-comment) + (catch-clause . 0) + (else-clause . 0) + (do-while-closure . 0) + (substatement . +) + (statement-case-open . 0) + (statement-case-intro . +) + (statement-block-intro . +) + (statement . 0) + (brace-entry-open . 0) + (brace-list-entry . 0) + (brace-list-open . 0) + (block-close . 0) + (block-open . 0) + (inher-cont . c-lineup-multi-inher) + (inher-intro . +) + (member-init-cont . c-lineup-multi-inher) + (member-init-intro . +) + (annotation-var-cont . +) + (annotation-top-cont . 0) + (topmost-intro-cont . c-lineup-topmost-intro-cont) + (topmost-intro . -) + (knr-argdecl . 0) + (func-decl-cont . +) + (inline-close . 0) + (class-close . 0) + (class-open . 0) + (defun-block-intro . +) + (defun-close . 0) + (defun-open . 0) + (c . c-lineup-C-comments) + (string . c-lineup-dont-change) + (label . 0) + (inclass +cc-c++-lineup-inclass +) + (access-label . -) + (inlambda . 0) + (inline-open . 0) + (arglist-close +cc-lineup-arglist-close 0) + (arglist-intro . +) + (brace-list-close . -) + (brace-list-intro . 0) + (case-label . +) + (statement-cont . +) + (substatement-label . 0) + (substatement-open . 0) + (knr-argdecl-intro . 0)) + ) + ) -;;; CC Style -(after! (:or c-mode c++-mode) - (c-add-style "default-cc-style" - '("k&r" - (indent-tabs-mode . nil) - (c-basic-offset . 4) - (c-offsets-alist - (innamespace . -) - (access-label . -)))) - (add-to-list 'c-default-style '(c++-mode . "default-cc-style")) - (add-to-list 'c-default-style '(c-mode . "default-cc-style"))) - -(c-add-style "default-cc-style" - '("k&r" - (indent-tabs-mode . nil) - (c-basic-offset . 4) - (c-offsets-alist - (innamespace . -) - (access-label . -) - (inline-open . 0)))) -(add-to-list 'c-default-style '(c++-mode . "default-cc-style")) -(add-to-list 'c-default-style '(c-mode . "default-cc-style")) ;;; reference: ;;; https://emacs-china.org/t/emacs/19319/7 ;;; and check c-fallback-style variable - -;; (add-hook! '(c-mode-hook c++-mode-hook) #'format-all-mode) diff --git a/modules/private-lang/cc/packages.el b/modules/private-lang/cc/packages.el new file mode 100644 index 00000000000..739bdc19f65 --- /dev/null +++ b/modules/private-lang/cc/packages.el @@ -0,0 +1,5 @@ +;;; -*- no-byte-compile: t; -*- +;;; private-lang/cc/packages.el + +;; (package! clang-format) +;; (package! clang-format+) diff --git a/modules/private-lang/cc/template/.clang-format b/modules/private-lang/cc/template/.clang-format new file mode 100644 index 00000000000..142baba9345 --- /dev/null +++ b/modules/private-lang/cc/template/.clang-format @@ -0,0 +1,46 @@ +--- +# by @Samuel Maynard +# --- +# Our C++ format is an adaption of Google's standards to the standards laid out +# in the "Standard Development and Coding Practices" document which was +# compiled by the Advacned Technology department. +# There are many more format style options than are listed here. They can be +# found at https://clang.llvm.org/docs/ClangFormatStyleOptions.html +# When an option is not sepecified, it defaults to Google's style (this can be +# changed with the BasedOnStyle option) +Language: Cpp +BasedOnStyle: Google +AccessModifierOffset: -4 +AllowShortFunctionsOnASingleLine: None +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +BinPackArguments: false +BinPackParameters: false +BreakBeforeBraces: Allman +DerivePointerAlignment: false +FixNamespaceComments: true +IncludeBlocks: Regroup +IncludeCategories: + - Regex: '^"pch.h"' + Priority: -1 + - Regex: '^"stdafx.h"' + Priority: -1 + - Regex: '^' + Priority: 2 + - Regex: '^<.*\.h>' + Priority: 1 + - Regex: '^<.*' + Priority: 2 + - Regex: '.*' + Priority: 3 +IndentWidth: 4 +IndentCaseLabels: false +MaxEmptyLinesToKeep: 1 +NamespaceIndentation: None +PointerAlignment: Right +SpaceAfterCStyleCast: true +SpacesInContainerLiterals: false +--- +Language: Proto +BasedOnStyle: Google +... diff --git a/modules/private-lang/cc/template/.dir-locals.el b/modules/private-lang/cc/template/.dir-locals.el new file mode 100644 index 00000000000..b689d4f7806 --- /dev/null +++ b/modules/private-lang/cc/template/.dir-locals.el @@ -0,0 +1,28 @@ +((c-mode . ((eval . (add-hook 'before-save-hook #'clang-format-buffer nil t))))) +((c++-mode . ((eval . (add-hook 'before-save-hook #'clang-format-buffer nil t))))) + +;; ((c-mode . ((c-basic-offset . 4) +;; (c-offsets-alist . ((access-label . -4) +;; (inclass . +) +;; (namespace-open . 0) +;; (namespace-close . 0) +;; (innamespace . 0) +;; (case-label . 0) +;; (statement-case-open . +) +;; (statement-case-intro . +) ; for case labels +;; (member-init-intro . ++))) ; for constructor initializer lists +;; (c-hanging-braces-alist . ((substatement-open after) +;; (brace-list-open))))) + +;; ((c++-mode . ((c-basic-offset . 4) +;; (c-offsets-alist . ((access-label . -4) +;; (inclass . +) +;; (namespace-open . 0) +;; (namespace-close . 0) +;; (innamespace . 0) +;; (case-label . 0) +;; (statement-case-open . +) +;; (statement-case-intro . +) ; for case labels +;; (member-init-intro . ++))) ; for constructor initializer lists +;; (c-hanging-braces-alist . ((substatement-open after) +;; (brace-list-open))))) diff --git a/modules/private-lang/cc/template/CMakeLists.txt b/modules/private-lang/cc/template/CMakeLists.txt new file mode 100644 index 00000000000..5be5e32e793 --- /dev/null +++ b/modules/private-lang/cc/template/CMakeLists.txt @@ -0,0 +1,21 @@ +cmake_minimum_required(VERSION 3.10) + +project(playground) + +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_EXTENSIONS OFF) + +set(INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include) + +set(SOURCES + ${CMAKE_SOURCE_DIR}/src/aaa.cc + ${CMAKE_SOURCE_DIR}/src/bbb.cc + ${CMAKE_SOURCE_DIR}/src/ccc.cc +) + +set(TEST ${CMAKE_SOURCE_DIR}/test/test-abc.cc) + +add_executable(test-abc ${SOURCES} ${TEST}) + +target_include_directories(test-abc PRIVATE ${INCLUDE_DIR}) diff --git a/modules/private-lang/cc/template/build.sh b/modules/private-lang/cc/template/build.sh new file mode 100644 index 00000000000..f2a5abd8500 --- /dev/null +++ b/modules/private-lang/cc/template/build.sh @@ -0,0 +1,9 @@ +#!/usr/bin/bash + +rm -r build +mkdir build +cd build +cmake .. \ + -DCMAKE_EXPORT_COMPILE_COMMANDS=ON + +cmake --build . -j 16 diff --git a/modules/private-lang/go/config.el b/modules/private-lang/go/config.el index 6bdd54f6a61..9731e7eb32d 100644 --- a/modules/private-lang/go/config.el +++ b/modules/private-lang/go/config.el @@ -1,10 +1,9 @@ ;;; private-lang/go/config.el -*- lexical-binding: t; -*- -(require 'lsp-mode) -(add-hook 'go-mode-hook #'lsp-deferred) - -;; Set up before-save hooks to format buffer and add/delete imports. -;; Make sure you don't have other gofmt/goimports hooks enabled. -(defun lsp-go-install-save-hooks () - (add-hook 'before-save-hook #'lsp-format-buffer t t)) -(add-hook 'go-mode-hook #'lsp-go-install-save-hooks) +(after! go-mode + (add-hook 'go-mode-hook #'lsp-deferred) + ;; Set up before-save hooks to format buffer and add/delete imports. + ;; Make sure you don't have other gofmt/goimports hooks enabled. + (defun lsp-go-install-save-hooks () + (add-hook 'before-save-hook #'lsp-format-buffer t t)) + (add-hook 'go-mode-hook #'lsp-go-install-save-hooks)) diff --git a/modules/private-lang/org/config.el b/modules/private-lang/org/config.el new file mode 100644 index 00000000000..74b7fa6b5d7 --- /dev/null +++ b/modules/private-lang/org/config.el @@ -0,0 +1,4 @@ +;;; private-lang/org/config.el -*- lexical-binding: t; -*- + +(setq org-pandoc-options-for-markdown '((columns . 120))) +(setq org-pandoc-options-for-markdown_mmd '((columns . 120))) diff --git a/modules/private-lang/protobuf/config.el b/modules/private-lang/protobuf/config.el new file mode 100644 index 00000000000..cb3a8c24910 --- /dev/null +++ b/modules/private-lang/protobuf/config.el @@ -0,0 +1,7 @@ +;;; private-lang/protobuf/config.el -*- lexical-binding: t; -*- + +(use-package! protobuf-mode + :mode "\\.proto\\'" + :config + ;; Add any specific configurations you want for protobuf-mode here + ) diff --git a/modules/private-lang/protobuf/packages.el b/modules/private-lang/protobuf/packages.el new file mode 100644 index 00000000000..f9f952a7e67 --- /dev/null +++ b/modules/private-lang/protobuf/packages.el @@ -0,0 +1,4 @@ +;;; -*- no-byte-compile: t; -*- +;;; private-lang/protobuf/packages.el + +(package! protobuf-mode) diff --git a/modules/private-lang/python/config.el b/modules/private-lang/python/config.el deleted file mode 100644 index 36aaf19b2b2..00000000000 --- a/modules/private-lang/python/config.el +++ /dev/null @@ -1,5 +0,0 @@ -;;; private-lang/python/config.el -*- lexical-binding: t; -*- - -(after! python - (setq! lsp-python-ms-executable - "/home/weidaolee/local/python-language-server/output/bin/Release/linux-x64/publish/Microsoft.Python.LanguageServer")) diff --git a/modules/private-lang/sh/config.el b/modules/private-lang/sh/config.el new file mode 100644 index 00000000000..251b35703ae --- /dev/null +++ b/modules/private-lang/sh/config.el @@ -0,0 +1,4 @@ +;;; private-lang/sh/config.el -*- lexical-binding: t; -*- + +(after! sh-script + (setq sh-basic-offset 2)) diff --git a/modules/private-tools/log/config.el b/modules/private-tools/log/config.el deleted file mode 100644 index dd0185f53b6..00000000000 --- a/modules/private-tools/log/config.el +++ /dev/null @@ -1,5 +0,0 @@ -;;; private-tools/log/config.el -*- lexical-binding: t; -*- - -(use-package! logview - :commands (logview-mode) - :mode ("\\.log\\'" . logview-mode)) diff --git a/modules/private-tools/log/packages.el b/modules/private-tools/log/packages.el deleted file mode 100644 index 05508e01508..00000000000 --- a/modules/private-tools/log/packages.el +++ /dev/null @@ -1,4 +0,0 @@ -;;; -*- no-byte-compile: t; -*- -;;; private-tools/log/packages.el - -(package! logview)