This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
dotfiles
mirror of
https://github.com/brettlangdon/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
some emacs improvements
master
Brett Langdon
10 months ago
parent
032de29790
commit
a0dadf6253
Failed to extract signature
3 changed files
with
8 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
emacs.d/init.el
+3
-0
emacs.d/layers/python/init.el
+2
-0
emacs.d/layers/yaml/init.el
+ 3
- 1
emacs.d/init.el
View File
@ -133,7 +133,9 @@
;; -- Theme/Style setup --
(
progn
;; Enable global line numbers
(
global-display-line-numbers-mode
t
)
(
global-display-line-numbers-mode
1
)
(
setq
line-number-mode
t
)
(
setq
column-number-mode
t
)
;; Hide menu bar
(
menu-bar-mode
-1
)
+ 3
- 0
emacs.d/layers/python/init.el
View File
@ -1,3 +1,6 @@
;; Do not notify the user each time Python tries to guess the indentation offset
(
setq
python-indent-guess-indent-offset-verbose
nil
)
;; lsp-mode
(
use-package
lsp-pyright
:defer
t
+ 2
- 0
emacs.d/layers/yaml/init.el
View File
@ -0,0 +1,2 @@
(
add-hook
'yaml-ts-mode-hook
(
lambda
(
)
(
add-hook
'before-save-hook
'whitespace-cleanup
nil
'local
)
)
)
Write
Preview
Loading…
Cancel
Save