This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-derived-mode typescriptreact-mode web-mode "TypescriptReact" | |
"A major mode for tsx.") | |
(use-package typescript-mode | |
:mode (("\\.ts\\'" . typescript-mode) | |
("\\.tsx\\'" . typescriptreact-mode))) | |
(use-package eglot | |
:ensure t | |
:defer 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
... | |
# redirect map in http block - remove fbclid argument from the end | |
map $request_uri $redirect_fbclid { | |
"~^(.*?)([?&]fbclid=[a-zA-Z0-9_-]+)$" $1; | |
} | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// To show line endings type on status bar | |
"show_line_endings_on_status_bar": true, | |
// show an alert when the line ending is on the list | |
// eg: "alert_when_line_ending_is": ["Windows","Unix","CR"] | |
"alert_when_line_ending_is": ["Windows"], | |
// auto convert line endings on file open | |
"auto_convert_line_endings_to": "Unix" |